File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,6 +59,17 @@ PHP 8.4 UPGRADE NOTES
5959 OutOfBoundsException instead of RuntimeException. As OutOfBoundsException
6060 is a child class of RuntimeException, code that uses RuntimeException
6161 continues to function.
62+ . ArrayObject now follows property write restrictions.
63+ This means, writing a dynamic property now emits a deprecation warning,
64+ it is not possible to assign a value of an incorrect type to a typed
65+ property, nor assigning to a property name which contains null bytes.
66+ ArrayObject continues to bypass any __set() handler and continues to
67+ allow assigning to inaccessible property names (e.g. integer as name).
68+ . Calling ArrayObject::offsetSet() with an offset of type null will now
69+ set an offset instead of appending.
70+ . Instances of classes that extend ArrayObject now call append($value)
71+ instead of offsetSet(null, $value) when using the append operator
72+ e.g. $object[] = $value;
6273
6374- Standard:
6475 . round() now validates the value of the $mode parameter and throws a ValueError
You can’t perform that action at this time.
0 commit comments