Skip to content

Commit a42b71e

Browse files
committed
UPGRADING
1 parent 8d7c791 commit a42b71e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

UPGRADING

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ PHP 8.4 UPGRADE NOTES
4343
OutOfBoundsException instead of RuntimeException. As OutOfBoundsException
4444
is a child class of RuntimeException, code that uses RuntimeException
4545
continues to function.
46+
. ArrayObject now follows property write restrictions.
47+
This means, writing a dynamic property now emits a deprecation warning,
48+
it is not possible to assign a value of an incorrect type to a typed
49+
property, nor assigning to a property name which contains null bytes.
50+
ArrayObject continues to bypass any __set() handler and continues to
51+
allow assigning to inaccessible property names (e.g. integer as name).
4652

4753
- Standard:
4854
. round() now validates the value of the $mode parameter and throws a ValueError

0 commit comments

Comments
 (0)