1.2.769. New Constants In PHP 7.2¶
The following constants are now native in PHP 7.2. It is advised to avoid using such names for constant before moving to this new version.
PHP_OS_FAMILYPHP_FLOAT_DIGPHP_FLOAT_EPSILONPHP_FLOAT_MAXPHP_FLOAT_MINSQLITE3_DETERMINISTICCURLSSLOPT_NO_REVOKECURLOPT_DEFAULT_PROTOCOLCURLOPT_STREAM_WEIGHTCURLMOPT_PUSHFUNCTIONCURL_PUSH_OKCURL_PUSH_DENYCURL_HTTP_VERSION_2TLSCURLOPT_TFTP_NO_OPTIONSCURL_HTTP_VERSION_2_PRIOR_KNOWLEDGECURLOPT_CONNECT_TOCURLOPT_TCP_FASTOPENDNS_CAA
See also New global constants in 7.2.
1.2.769.1. Connex PHP features¶
1.2.769.1.1. Suggestions¶
Move the constants to a new namespace
Remove the old constants
Rename the old constants
1.2.769.1.2. Specs¶
Short name |
Php/Php72NewConstants |
Rulesets |
|
Exakat since |
0.10.7 |
PHP Version |
With PHP 7.2 and older |
Severity |
Major |
Time To Fix |
Slow (1 hour) |
Precision |
Very high |
Available in |