Skip to content

Commit 2cf7993

Browse files
committed
Add UPGRADING note
1 parent f20966a commit 2cf7993

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

UPGRADING

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ PHP 8.4 UPGRADE NOTES
3333
now 13 bytes longer. Total length is platform-dependent.
3434
. Encountering recursion during comparison now results in a Error exception,
3535
rather than a fatal error.
36+
. Indirect modification of readonly properties within __clone() is no longer
37+
allowed, e.g. $ref = &$this->readonly. This was already forbidden for
38+
readonly initialization, and was an oversight in the "readonly
39+
reinitialization during cloning" implementation.
3640

3741
- DOM:
3842
. Added DOMNode::compareDocumentPosition() and DOMNode::DOCUMENT_POSITION_*

0 commit comments

Comments
 (0)