1.2.915. PHP 7.2 Deprecations¶
Several functions are deprecated in PHP 7.2.
parse_str() with no second argument
assert() on strings
Usage of gmp_random(), create_function(), each()
Usage of (unset)
Usage of
$php_errormsg
directive
mbstring.func_overload
(not supported yet)
Deprecated functions and extensions are reported in a separate analysis.
See also Deprecations for PHP 7.2.
1.2.915.1. Connex PHP features¶
1.2.915.1.1. Suggestions¶
Remove the deprecated functions, and replace them with a new feature
Use a replacement function to emulate this old behavior
1.2.915.1.2. Specs¶
Short name |
Php/Php72Deprecation |
Rulesets |
|
Exakat since |
0.9.9 |
PHP Version |
With PHP 7.2 and older |
Severity |
Major |
Time To Fix |
Slow (1 hour) |
Precision |
Very high |
Available in |