diff --git a/NEWS b/NEWS index f5edf5c8d16..495f092a2f4 100644 --- a/NEWS +++ b/NEWS @@ -19,6 +19,9 @@ PHP NEWS - Session: . Added support for partitioned cookies. (nielsdos) +- SPL: + . Deprecate ArrayObject and ArrayIterator with objects. (Girgias) + - Standard: . Fixed bug GH-16649 (UAF during array_splice). (alexandre-daubois) . Passing integers outside the interval [0, 255] to chr() is now deprecated. diff --git a/UPGRADING b/UPGRADING index 0d5981f1bc1..95d18ac296f 100644 --- a/UPGRADING +++ b/UPGRADING @@ -423,6 +423,8 @@ PHP 8.5 UPGRADE NOTES SplObjectStorage::offsetExists(), SplObjectStorage::offsetSet(), and SplObjectStorage::offsetUnset() respectively. RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_splobjectstoragecontains_splobjectstorageattach_and_splobjectstoragedetach + . Using ArrayObject and ArrayIterator with objects has been deprecated. + RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_arrayobject_and_arrayiterator_with_objects - Standard: . The socket_set_timeout() alias function has been deprecated.