Commit cb1b529fc30 for php.net

commit cb1b529fc300a7b74e846c9fe51531b2edca02dc
Merge: f0db414abc6 509e27bae1c
Author: Ilia Alshanetsky <ilia@ilia.ws>
Date:   Tue Sep 1 08:57:56 2026 -0400

    Merge branch 'PHP-8.4' into PHP-8.5

    * PHP-8.4:
      [mbstring] Fix mb_ereg_replace() emitting NUL/garbage for unterminated \k<name>

diff --cc NEWS
index 2e0f6d1a24c,ac08278a8a8..82adcae4408
--- a/NEWS
+++ b/NEWS
@@@ -47,8 -49,15 +47,13 @@@ PH
    . Fixed a use-after-free when IntlRuleBasedBreakIterator is constructed
      from compiled rules. (iliaal)

+ - MBString:
+   . Fixed mb_ereg_replace() emitting a NUL or out-of-bounds bytes in the
+     replacement when a \k<name> backref has no closing delimiter.
+     (Ilia Alshanetsky)
+
  - Opcache:
    . Fixed opcache.protect_memory race under ZTS. (realFlowControl)
 -  . Fixed bug GH-23288 (Crash on restart when opcache.interned_strings_buffer
 -    is overridden in an individual FPM pool). (David Carlier)
    . Fixed a tracing JIT crash when compiling a side trace for a method of a
      class that could not be stored in the inheritance cache. (GH-21710)
      (Arnaud, iliaal)