Commit fc925de68d3 for php

commit fc925de68d3a098b44f02b37b366277012096e43
Merge: e6a0bd182a5 189ff2399a3
Author: ndossche <7771979+ndossche@users.noreply.github.com>
Date:   Mon Nov 30 23:03:10 2026 +0100

    Merge branch 'PHP-8.4' into PHP-8.5

    * PHP-8.4:
      ext/xmlwriter: report the right argument number for an invalid name in method calls

diff --cc NEWS
index 55605a2ba7d,37c3cd8a16a..f8e5aa87734
--- a/NEWS
+++ b/NEWS
@@@ -312,11 -324,23 +312,15 @@@ PH
      user filter). (Edmond)
    . Fixed bug GH-15701 (Build failure: incompatible funopen() seeker pointer
      type on 32-bit platforms). (Kamil Tekiela)
 -  . Fixed bug GH-25464 (Segfault reading from php://memory after
 -    stream_filter_remove() on a read filter). (David Carlier)
 +  . Fixed bug GH-25586 (Use-after-free in php_stream_cast() when a userspace
 +    stream_flush() closes the stream). (lazerg)
    . Fixed stream_context_create() and stream_context_set_params() rejecting
      an options array passed by reference in the context parameters. (lacatoire)
 -  . Fixed bug GH-25862 (Heap buffer overflow in _php_stream_fill_read_buffer()
 -    when a read filter increases the stream chunk size). (matyapiro31, lazerg)
 -
 -- XML:
 -  . Fixed xml_error_string() returning the wrong message for libxml error
 -    codes 1 to 4. (lacatoire)
 -  . Fixed xml_set_element_handler() blaming the wrong argument for an invalid
 -    end handler and emitting a false null deprecation. (lacatoire)

+ - XMLWriter:
+   . Report the right argument number for an invalid name in method calls.
+     (lacatoire)
+
  - XSL:
    . Fixed a crash in XSLTProcessor::transformToDoc() when the return class
      cannot be instantiated. (Ilia Alshanetsky)