mirror of
https://github.com/php/php-src.git
synced 2026-04-26 17:38:14 +02:00
5d68d61943
The XPath query is in accordance to spec [1]. However, we can do it in a simpler way. We can use a custom callback function instead of a linear search in XPath to check if a node is visible. Note that comment nodes are handled internally by libxml2 already, so we do not need to differentiate between node types. The callback will do an upwards traversal of the tree until the root of the canonicalization is reached. In practice this will speed up the application a lot. [1] https://www.w3.org/TR/2001/REC-xml-c14n-20010315 section 2.1 Closes GH-12278.
23 lines
826 B
Plaintext
23 lines
826 B
Plaintext
PHP NEWS
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
?? ??? ????, PHP 8.4.0alpha1
|
|
|
|
Core:
|
|
. Added zend_call_stack_get implementation for NetBSD. (David Carlier)
|
|
|
|
DOM:
|
|
. Added DOMNode::compareDocumentPosition(). (nielsdos)
|
|
. Implement #53655 (Improve speed of DOMNode::C14N() on large XML documents).
|
|
(nielsdos)
|
|
|
|
Intl:
|
|
. Added IntlDateFormatter::PATTERN constant. (David Carlier)
|
|
|
|
Standard:
|
|
. Implement GH-12188 (Indication for the int size in phpinfo()). (timwolla)
|
|
. Partly fix GH-12143 (Incorrect round() result for 0.49999999999999994).
|
|
(timwolla)
|
|
. Fix GH-12252 (round(): Validate the rounding mode). (timwolla)
|
|
|
|
<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
|