Skip to content

Commit a13dc04

Browse files
committed
Update NEWS and UPGRADING with entry for null as array offset
1 parent d0630e8 commit a13dc04

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ PHP NEWS
99
expression). (timwolla)
1010
. Fixed bug GH-19613 (Stale array iterator pointer). (ilutov)
1111
. Fixed bug GH-19679 (zend_ssa_range_widening may fail to converge). (Arnaud)
12+
. Using null as an array offset or when calling array_key_exists() is now
13+
deprecated. (alexandre-daubois)
1214

1315
- Date:
1416
. Fixed date_sunrise() and date_sunset() with partial-hour UTC offset.

UPGRADING

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,9 @@ PHP 8.5 UPGRADE NOTES
376376
- Binding a closure to the scope of an internal class
377377
- Rebinding the scope of a closure created from a function or method
378378
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_closure_binding_issues
379+
. Using null as an array offset or when calling array_key_exists() is now
380+
deprecated. Instead an empty string should be used.
381+
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_using_values_null_as_an_array_offset_and_when_calling_array_key_exists
379382

380383
- Curl:
381384
. The curl_close() function has been deprecated, as CurlHandle objects are

0 commit comments

Comments
 (0)