From dbf0102b1580b7b8793988d95846fc2aee54d42e Mon Sep 17 00:00:00 2001 From: Daniel Scherzer Date: Sat, 16 Aug 2025 08:45:40 -0700 Subject: [PATCH] NEWS/UPGRADING for ArrayObject and ArrayIterator with objects deprecation --- NEWS | 3 +++ UPGRADING | 2 ++ 2 files changed, 5 insertions(+) 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.