1.2.659. Make Functioncall With Reference¶
Mark parameters as
isModifiedif the functioncall uses reference.
This works on PHP native functions and custom functions.
This doesn’t work on dynamic calls nor methods yet.
<?php
function foo($a, &$b) {}
// $b is marked as modified
foo($a, $b);
?>
1.2.659.1. Connex PHP features¶
1.2.659.1.1. Specs¶
Short name |
Complete/MakeFunctioncallWithReference |
Rulesets |
|
Exakat since |
1.9.7 |
PHP Version |
All |
Severity |
|
Time To Fix |
|
Precision |
Very high |
Available in |