Commit bbe593d6a34 for php

commit bbe593d6a3454bbacb123f96652cf1cfd2075572
Merge: f683b10128d 628fb1f591f
Author: ndossche <7771979+ndossche@users.noreply.github.com>
Date:   Sun Nov 1 12:31:44 2026 +0100

    Merge branch 'PHP-8.5' into PHP-8.6

    * PHP-8.5:
      Fix deprecation warn in test
      Fix GH-25092: Double free in Phar::copy() on link and mounted entries

diff --cc NEWS
index d694f19c73b,fdfbe338022..c3d54001a7b
--- a/NEWS
+++ b/NEWS
@@@ -162,10 -231,23 +162,12 @@@ PH
      (Lazizbek Ergashev)
    . Fixed bug GH-25091 (UAF in phar rename() when source and destination
      are equal). (Lazizbek Ergashev)
+   . Fixed bug GH-25092 (Double free in Phar::copy() on link and
+     mounted entries). (Lazizbek Ergashev)

 -- Phpdbg:
 -  . Fix wrong command names. (ndossche, Weilin Du)
 -  . Fixed bug GH-22480 (Use-after-free when re-watching an already-watched
 -    variable). (Ilia Alshanetsky)
 -  . Fixed over-read when watching a packed array element. (Ilia Alshanetsky)
 -  . Fixed double free of watch element chains. (Arnaud)
 -
 -- POSIX:
 -  . Fixed posix_setrlimit() rejecting POSIX_RLIMIT_INFINITY on Solaris.
 -    (Jorg Sowa)
 -
 -- Readline:
 -  . Fixed a crash in readline_info() when completion_append_character
 -    contains a non-ASCII byte. (Weilin Du)
 +- Reflection:
 +  . Fixed bug GH-21768 (Assertion failure in ReflectionProperty::isReadable()
 +    and isWritable() on internal virtual properties). (David Carlier)

  - SAPI:
    . Fixed infinite loop in sapi_header_op() for headers of 4 GiB or more.