Commit 62cec66b3c3 for php

commit 62cec66b3c35b462998bb909df9c9b1e9b9bd575
Merge: 0dbc4a7953a 31c18cee3da
Author: ndossche <7771979+ndossche@users.noreply.github.com>
Date:   Wed Nov 11 21:44:15 2026 +0100

    Merge branch 'PHP-8.5' into PHP-8.6

    * PHP-8.5:
      Fix GH-25311: Assertion ret == SUCCESS in array_map()/array_filter() after delayed out-of-memory

diff --cc NEWS
index d1260936dd3,f35834e6d77..78a77bd35ae
--- a/NEWS
+++ b/NEWS
@@@ -26,13 -21,10 +26,15 @@@ PH
    . Fixed use-after-free when the error handler releases a string while an
      "Illegal string offset" warning is raised for its offset in a read, ?? or
      nested isset()/empty(). (Jorg Sowa)
 +  . Fixed partial function applications in eval'd or included code, or in
 +    class constants, reusing a stale cached function with wrong bound
 +    arguments. (Jorg Sowa)
 +  . Fixed anonymous class names being truncated at the NUL byte in error
 +    messages, the error log, and HTML and XML-RPC error output. (Jorg Sowa)
    . Fixed AST printing dropping readonly on promoted constructor parameters.
      (Jorg Sowa)
+   . Fixed bug GH-25311 (Assertion ret == SUCCESS in array_map()/array_filter()
+     after delayed out-of-memory). (ndossche)

  - Curl:
    . Fixed curl_reset() retaining CURLOPT_PRIVATE after reset. (lacatoire)