File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,17 @@ PHP 8.4 UPGRADE NOTES
59
59
OutOfBoundsException instead of RuntimeException. As OutOfBoundsException
60
60
is a child class of RuntimeException, code that uses RuntimeException
61
61
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;
62
73
63
74
- Standard:
64
75
. 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