Changed
E_STRICT
Notices
Introduced with PHP 5, the E_STRICT
notice was
intended to have PHP suggest changes to code to ensure better
interoperability and forward compatibility. It had to be explicitly
enabled in the php.ini file. Enabling E_STRICT
at
runtime, using error_reporting()
, did not help, because
all E_STRICT
errors were compile-time errors.
Starting with PHP 5.4, the E_STRICT
flag was
included in E_ALL
to give it a higher visibility, yet
most installations explicitly disabled it.
In PHP 7 all cases that used to trigger an E_STRICT
notice got reclassified to other error types or were completely
removed. For better compatibility the E_STRICT
constant
was kept but has no longer any effect or meaning.