Skip to content

Commit 34a0bcf

Browse files
committed
Update NEWS/UPGRADING for destructing non-array values
1 parent 8747e9a commit 34a0bcf

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ PHP NEWS
22
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
33
?? ??? ????, PHP 8.5.0beta3
44

5+
- Core:
6+
. Destructing non-array values (other than NULL) using [] or list() now
7+
emits a warning. (Girgias)
8+
59
- Opcache:
610
. Fixed bug GH-19486 (Incorrect opline after deoptimization). (Arnaud)
711

UPGRADING

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ PHP 8.5 UPGRADE NOTES
5252
. The disable_classes INI setting has been removed as it causes various
5353
engine assumptions to be broken.
5454
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#remove_disable_classes_ini_setting
55+
. Destructing non-array values (other than NULL) using [] or list() now
56+
emits a warning.
57+
RFC: https://wiki.php.net/rfc/warnings-php-8-5#destructuring_non-array_values
5558

5659
- BZ2:
5760
. bzcompress() now throws a ValueError when $block_size is not between

0 commit comments

Comments
 (0)