1.2.933. PHP 8.1 Removed Directives¶
List of directives that are removed in PHP 8.1.
In PHP 8.1, the following directives were removed :
mysqlnd.fetch_data_copy
filter.default
filter.default_options
auto_detect_line_endings
oci8.old_oci_close_semantics
You can detect valid directives with ini_get(). This native function will return false, when the directive doesn’t exist, while actual directive values will be returned as a string.
See also PHP RFC: Deprecations for PHP 8.1.
1.2.933.1. Connex PHP features¶
1.2.933.1.1. Suggestions¶
Remove usage of the directives.
1.2.933.1.2. Specs¶
Short name |
Php/Php81RemovedDirective |
Rulesets |
|
Exakat since |
2.2.3 |
PHP Version |
All |
Severity |
Minor |
Time To Fix |
Quick (30 mins) |
Precision |
Very high |
Related rule |
|
Available in |