1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

Update NEWS and UPGRADING for chr() deprecation

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:
. 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

View File

@@ -423,6 +423,9 @@ PHP 8.5 UPGRADE NOTES
opened directory has been deprecated. Provide the last opened directory
explicitly instead.
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:
. The xml_parser_free() function has been deprecated, as XMLParser objects