Skip to content

Commit 205c8b6

Browse files
committed
[ci skip] NEWS and UPGRADING for DOMXPath::quote()
See commit 2f9320c.
1 parent 2f9320c commit 205c8b6

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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)

UPGRADING

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)