Commit 320c3aabb14 for php

commit 320c3aabb14f5c32c26a1d34972b4edb3e85a546
Merge: aaa27a81012 586fdfd9b3b
Author: Ilia Alshanetsky <ilia@ilia.ws>
Date:   Tue Dec 1 11:11:57 2026 -0500

    Merge branch 'PHP-8.5' into PHP-8.6

    * PHP-8.5:
      ext/sysvshm, ext/sysvmsg: Unwrap top-level reference after unserialize

diff --cc NEWS
index e6bef0c6a5b,8e171a7d895..787fb651da3
--- a/NEWS
+++ b/NEWS
@@@ -352,11 -317,19 +352,19 @@@ PH
      user filter). (Edmond)
    . Fixed bug GH-15701 (Build failure: incompatible funopen() seeker pointer
      type on 32-bit platforms). (Kamil Tekiela)
 -  . 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-25860 (stream_copy_to_stream() socket timeout overflow).
 +    (David Carlier)

+ - Sysvmsg:
+   . Fixed msg_receive() not unwrapping top-level references from unserialized
+     values. (Ho Hoang Phu, Ilia Alshanetsky)
+
+ - Sysvshm:
+   . Fixed shm_get_var() not unwrapping top-level references from unserialized
+     values. (Ho Hoang Phu)
+
  - XMLWriter:
    . Report the right argument number for an invalid name in method calls.
      (lacatoire)