E_STRICT Is Deprecated
The PHP native constant E_STRICT is deprecated, and will be removed in PHP 9.0.
PHP code
<?php
var_dump(error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT));
?>
Before
int(32767)
After
PHP Deprecated: Constant E_STRICT is deprecated
Deprecated: Constant E_STRICT is deprecated
int(30719)
PHP version change
This behavior was deprecated in 8.4.
This behavior changed in 9.0.