1.2.656. Make Functioncall With Reference¶
Mark parameters as
isModified
if 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.656.1. Specs¶
Short name |
Complete/MakeFunctioncallWithReference |
Rulesets |
|
Exakat since |
1.9.7 |
PHP Version |
All |
Severity |
|
Time To Fix |
|
Precision |
Very high |
Features |
reference |
Available in |