Skip to content

Commit 7263cb6

Browse files
authored
[skip ci] Fix destructuring typo in NEWS and UPGRADING (#20488)
1 parent 0909f13 commit 7263cb6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

NEWS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ PHP NEWS
289289
11 Sep 2025, PHP 8.5.0beta3
290290

291291
- Core:
292-
. Destructing non-array values (other than NULL) using [] or list() now
292+
. Destructuring non-array values (other than NULL) using [] or list() now
293293
emits a warning. (Girgias)
294294
. Fixed bug GH-19637 (Incorrect Closure scope for FCC in constant
295295
expression). (timwolla)

UPGRADING

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ 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
55+
. Destructuring non-array values (other than NULL) using [] or list() now
5656
emits a warning.
5757
RFC: https://wiki.php.net/rfc/warnings-php-8-5#destructuring_non-array_values
5858
. A warning is now emitted when casting floats (or strings that look like

0 commit comments

Comments
 (0)