1.2.1255. Undefined Functions¶
Those functions are called, though they are not defined in the code.
The functions are probably defined in a missing library, component, or in an extension. When this is not the case, PHP yield a Fatal error at execution.
<?php
// Undefined function
foo($a);
// valid function, as it belongs to the ext/yaml extension
$parsed = yaml_parse($yaml);
// This function is not defined in the a\b\c namespace, nor in the global namespace
a\b\c\foo();
?>
See also Functions.
1.2.1255.2. Connex PHP features¶
1.2.1255.2.1. Suggestions¶
Fix the name of the function in the code
Remove the functioncall in the code
Define the function for the code to call it
Include the correct library in the code source
1.2.1255.2.2. Specs¶
Short name |
Functions/UndefinedFunctions |
Rulesets |
|
Exakat since |
0.8.4 |
PHP Version |
All |
Severity |
Major |
Time To Fix |
Quick (30 mins) |
Precision |
High |
Available in |