@@ -59,6 +59,11 @@ PHP 8.3 UPGRADE NOTES
59
59
. createAttributeNS() would previously incorrectly throw a NAMESPACE_ERR
60
60
when the prefix was already used for a different uri. It now correctly
61
61
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.
62
67
63
68
- FFI:
64
69
. C functions that have a return type of void now return null instead of
@@ -126,6 +131,11 @@ PHP 8.3 UPGRADE NOTES
126
131
- CLI
127
132
. It is now possible to lint multiple files.
128
133
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
+
129
139
- FFI
130
140
. It is now possible to assign CData to other CData. This means you can
131
141
now assign CData to structs and fields.
@@ -378,9 +388,6 @@ PHP 8.3 UPGRADE NOTES
378
388
. Added DOMNode::getRootNode(). The $options argument does nothing at the
379
389
moment because it only influences the shadow DOM, which we do not support
380
390
yet.
381
- . Added DOMElement::className and DOMElement::id.
382
- This is not binary-safe at the moment because of underlying limitations of
383
- libxml2.
384
391
. Added DOMParentNode::replaceChildren().
385
392
. Added DOMNode::isConnected and DOMNameSpaceNode::isConnected.
386
393
. Added DOMNode::parentElement and DOMNameSpaceNode::parentElement.
0 commit comments