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

Update NEWS/UPGRADING for destructing non-array values

This commit is contained in:
Gina Peter Banyard
2025-08-29 17:08:39 +02:00
parent 8747e9ae18
commit 34a0bcf103
2 changed files with 7 additions and 0 deletions

4
NEWS
View File

@@ -2,6 +2,10 @@ PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? ????, PHP 8.5.0beta3
- Core:
. Destructing non-array values (other than NULL) using [] or list() now
emits a warning. (Girgias)
- Opcache:
. Fixed bug GH-19486 (Incorrect opline after deoptimization). (Arnaud)

View File

@@ -52,6 +52,9 @@ PHP 8.5 UPGRADE NOTES
. The disable_classes INI setting has been removed as it causes various
engine assumptions to be broken.
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#remove_disable_classes_ini_setting
. Destructing non-array values (other than NULL) using [] or list() now
emits a warning.
RFC: https://wiki.php.net/rfc/warnings-php-8-5#destructuring_non-array_values
- BZ2:
. bzcompress() now throws a ValueError when $block_size is not between