File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ PHP NEWS
3333 . Fix DOMElement->prefix with empty string creates bogus prefix. (nielsdos)
3434 . Handle OOM more consistently. (nielsdos)
3535 . Implemented "Improve callbacks in ext/dom and ext/xsl" RFC. (nielsdos)
36+ . Added DOMXPath::quote() static method. (divinity76)
3637
3738- Fileinfo:
3839 . Update to libmagic 5.45. (nielsdos)
Original file line number Diff line number Diff line change @@ -392,6 +392,8 @@ PHP 8.4 UPGRADE NOTES
392392 . Added DOMNode::compareDocumentPosition().
393393 . Added DOMXPath::registerPhpFunctionNS().
394394 RFC: https://wiki.php.net/rfc/improve_callbacks_dom_and_xsl
395+ . Added DOMXPath::quote() to quote a string for use in an XPath expression.
396+ Example usage: "//span[contains(text()," . $xpath->quote($string) . ")]"
395397
396398- Intl:
397399 . Added IntlDateFormatter::getIanaID()/intltz_get_iana_id() to
You can’t perform that action at this time.
0 commit comments