1.2.387. Dynamic Calls¶
List of dynamic calls. They will probably need to be reviewed manually.
<?php
$a = 'b';
// Dynamic call of a constant
echo constant($a);
// Dynamic variables
$$a = 2;
echo $b;
// Dynamic call of a function
$a('b');
// Dynamic call of a method
$object->$a('b');
// Dynamic call of a static method
A::$a('b');
?>
1.2.387.1. Specs¶
Short name |
Structures/DynamicCalls |
Rulesets |
|
Exakat since |
0.8.4 |
PHP Version |
All |
Severity |
Minor |
Time To Fix |
Quick (30 mins) |
Precision |
High |
Features |
dynamic-call |
Available in |