1.2.93. Call Order¶
This is a representation of the code. Each node is a function or method, and each link a is call from a method to another.
The only link is the possible call from a method to the other. All control flow is omitted, including conditional calls and loops. From the above script, the resulting network will display ‘foo() -> bar(), foo() -> foobar(), bar() -> foobar()’ calls.
<?php
function foo() {
bar();
foobar();
}
function bar() {
foobar();
}
function foobar() {
}
?>
1.2.93.1. Specs¶
Short name |
Dump/CallOrder |
Rulesets |
|
Exakat since |
2.1.4 |
PHP Version |
All |
Severity |
Minor |
Time To Fix |
Quick (30 mins) |
Precision |
High |
Available in |