@@ -59,6 +59,11 @@ PHP 8.3 UPGRADE NOTES
5959 . createAttributeNS() would previously incorrectly throw a NAMESPACE_ERR
6060 when the prefix was already used for a different uri. It now correctly
6161 chooses a different prefix when there's a prefix name conflict.
62+ . New methods and properties were added to some DOM classes. If you inherit
63+ from these and you happen to have a method or property with the same name,
64+ you might encounter errors if the declaration is incompatible.
65+ Consult sections 2. New Features and 6. New Functions for a list of
66+ newly implemented methods and properties.
6267
6368- FFI:
6469 . C functions that have a return type of void now return null instead of
@@ -126,6 +131,11 @@ PHP 8.3 UPGRADE NOTES
126131- CLI
127132 . It is now possible to lint multiple files.
128133
134+ - DOM
135+ . Added properties DOMElement::className and DOMElement::id.
136+ These are not binary-safe at the moment because of underlying limitations of
137+ libxml2. This means that the property values will be cut off at a NUL byte.
138+
129139- FFI
130140 . It is now possible to assign CData to other CData. This means you can
131141 now assign CData to structs and fields.
@@ -378,9 +388,6 @@ PHP 8.3 UPGRADE NOTES
378388 . Added DOMNode::getRootNode(). The $options argument does nothing at the
379389 moment because it only influences the shadow DOM, which we do not support
380390 yet.
381- . Added DOMElement::className and DOMElement::id.
382- This is not binary-safe at the moment because of underlying limitations of
383- libxml2.
384391 . Added DOMParentNode::replaceChildren().
385392 . Added DOMNode::isConnected and DOMNameSpaceNode::isConnected.
386393 . Added DOMNode::parentElement and DOMNameSpaceNode::parentElement.
0 commit comments