Commit 367c38d8dc2 for php

commit 367c38d8dc29ad3f10268bd14b09dfd4694a3417
Merge: bc9387737ea f0d48c8991a
Author: Jakub Zelenka <bukka@php.net>
Date:   Tue Oct 6 16:37:48 2026 +0200

    Merge branch 'PHP-8.5' into PHP-8.6

    * PHP-8.5:
      Fix bzopen() ownership of the stream it wraps

diff --cc NEWS
index 8b30e7f4d3e,0f6bb34b368..2ca57a21019
--- a/NEWS
+++ b/NEWS
@@@ -10,30 -20,18 +20,36 @@@ PH
    . Fixed the built-in server truncating an error page and leaking its
      unsent part after a partial socket write. (Ilia Alshanetsky)

- - Core:
+ - Core
+   . Fixed bug GH-23644 (Optimizer leaves a constant-vs-constant comparison
+     unfolded, crashing the VM in zval_undefined_cv). (ndossche)
+   . Fixed OSS-Fuzz 532353396 (assertion failure with static type). (Girgias)
+   . Fix GH-23662 (Avoid NAN warning in print_r()). (CodedByManish)
+   . Fix GH-21999: GC inconsistency with lazy object, var_dump(), and object
+     comparison. (Arnaud)
    . Fixed OSS-Fuzz #536440507 (Immutable class incorrect assertion).
      (ndossche)
 +  . Fixed bug GH-23628 (Tracing JIT reads undefined property slots of lazy
 +    proxy objects instead of forwarding to the real instance). (lisachenko)
 +  . Fixed bug GH-23882 (array_map() optimization is incorrect for
 +    strict_types=1). (timwolla)
 +  . Fixed OSS-Fuzz #565486253 (coerced arg with '...' on non-variadic
 +    function). (ndossche)
    . Fixed AVX being reported as supported when the OS has not enabled AVX
      state. (Ilia Alshanetsky)
 +  . Fixed OSS-Fuzz #552682112 (assertion failure wrt
 +    zp_arg_must_be_sent_by_ref()). (ndossche)
 +  . Fixed GH-23921 (Fibers start with error_reporting = 0 when the
 +    error_reporting INI directive is not set). (Girgias)
    . Fixed GH-23980 (ZEND_ASSERT violation @ ZEND_INCLUDE_OR_EVAL). (ndossche)
 +  . Deprecated using "let" or "is" as the name of a class, function, or
 +    constant, and as an alias in class_alias() and use declarations. (Girgias)
 +  . Deprecated using "_" as a constant name and as an alias for a class or
 +    constant in use declarations. (Girgias)
 +  . Switch the POSIX high resolution timer back to CLOCK_MONOTONIC from
 +    CLOCK_MONOTONIC_RAW. (nicolas-grekas)
 +  . Fixed array_map optimization with non-literal function or non-literal args.
 +    (Arnaud)
    . Fixed use-after-free when a dl()-loaded extension declares a frameless
      function and a later request calls it. (Ilia Alshanetsky)
    . Fixed System V shared memory emulation for Windows attaching segments past