You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The E_STRICT constant is deprecated in PHP 8.4.0 RC1 on Windows. #16082
This was implemented in #13053 on September 18, while PHP 8.4 beta 5 was released on September 12, per https://www.php.net/archive/2024.php#2024-09-12-1. Thus, the 8.4RC1 and 8.4beta5 on windows are both expected. Beta 5 was released before the implementation, so it wouldn't have the notice.
What is odd is that on RHEL there is no deprecation notice - can you confirm that the RHEL environment is on 8.4RC1?
What is odd is that on RHEL there is no deprecation notice - can you confirm that the RHEL environment is on 8.4RC1?
On RHEL/Fedora
```
$ php -v
PHP 8.4.0RC1 (cli) (built: Sep 24 2024 15:59:52) (NTS gcc x86_64)
$ php -n -r 'var_dump(E_STRICT);'
Deprecated: Constant E_STRICT is deprecated in Command line code on line 1
int(2048)
```
Notice, using RPM, provided php.ini is production one
so with error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
Remi
Activity
DanielEScherzer commentedon Sep 27, 2024
The constant is deprecated, see https://wiki.php.net/rfc/deprecations_php_8_4#remove_e_strict_error_level_and_deprecate_e_strict_constant.
This was implemented in #13053 on September 18, while PHP 8.4 beta 5 was released on September 12, per https://www.php.net/archive/2024.php#2024-09-12-1. Thus, the 8.4RC1 and 8.4beta5 on windows are both expected. Beta 5 was released before the implementation, so it wouldn't have the notice.
What is odd is that on RHEL there is no deprecation notice - can you confirm that the RHEL environment is on 8.4RC1?
remicollet commentedon Sep 27, 2024