Update NEWS and UPGRADING for chr() deprecation
Some checks are pending
Push / MACOS_ARM64_DEBUG_NTS (push) Waiting to run
Push / WINDOWS_X64_ZTS (push) Waiting to run
Push / LINUX_X64_RELEASE_NTS (push) Has been skipped
Push / LINUX_X64_DEBUG_ZTS_ASAN (push) Has been skipped
Push / LINUX_X32_DEBUG_ZTS (push) Has been skipped
Push / BENCHMARKING (push) Has been skipped
Push / FREEBSD (push) Has been skipped

This commit is contained in:
Gina Peter Banyard 2025-08-14 20:51:30 +01:00
parent cab46b27b9
commit f9d95c649e
2 changed files with 5 additions and 0 deletions

2
NEWS
View file

@ -17,6 +17,8 @@ PHP NEWS
- Standard: - Standard:
. Fixed bug GH-16649 (UAF during array_splice). (alexandre-daubois) . Fixed bug GH-16649 (UAF during array_splice). (alexandre-daubois)
. Passing integers outside the interval [0, 255] to chr() is now deprecated.
(Girgias)
14 Aug 2025, PHP 8.5.0beta1 14 Aug 2025, PHP 8.5.0beta1

View file

@ -423,6 +423,9 @@ PHP 8.5 UPGRADE NOTES
opened directory has been deprecated. Provide the last opened directory opened directory has been deprecated. Provide the last opened directory
explicitly instead. explicitly instead.
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_passing_null_to_readdir_rewinddir_and_closedir RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_passing_null_to_readdir_rewinddir_and_closedir
. Passing integers outside the interval [0, 255] to chr() is now deprecated.
This is because a byte can only hold a value within this interval.
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_passing_integers_outside_the_interval_0_255_to_chr
- XML: - XML:
. The xml_parser_free() function has been deprecated, as XMLParser objects . The xml_parser_free() function has been deprecated, as XMLParser objects