File tree 2 files changed +3
-0
lines changed
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ PHP NEWS
33
33
. Fix DOMElement->prefix with empty string creates bogus prefix. (nielsdos)
34
34
. Handle OOM more consistently. (nielsdos)
35
35
. Implemented "Improve callbacks in ext/dom and ext/xsl" RFC. (nielsdos)
36
+ . Added DOMXPath::quote() static method. (divinity76)
36
37
37
38
- Fileinfo:
38
39
. 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
392
392
. Added DOMNode::compareDocumentPosition().
393
393
. Added DOMXPath::registerPhpFunctionNS().
394
394
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) . ")]"
395
397
396
398
- Intl:
397
399
. Added IntlDateFormatter::getIanaID()/intltz_get_iana_id() to
You can’t perform that action at this time.
0 commit comments