Commit 585e58138ff for php.net

commit 585e58138ffff3f85d8a7829923597fbdbf99c57
Merge: 7a06f6b4eb4 c569f514887
Author: Alexandre Daubois <alex.daubois@gmail.com>
Date:   Tue Sep 16 15:11:26 2025 +0200

    Merge branch 'PHP-8.4'

    * PHP-8.4:
      Fix GH-19801: address leak when calling var_dump() with recursion in __debugInfo() (#19837)

diff --cc NEWS
index 9a21a84e199,1216fef9c97..7adc874c818
--- a/NEWS
+++ b/NEWS
@@@ -28,39 -29,33 +28,41 @@@ PH
    . Fixed bug GH-19669 (assertion failure in zend_jit_trace_type_to_info_ex).
      (Arnaud)

 -- Soap:
 -  . Fixed bug GH-19784 (SoapServer memory leak). (nielsdos)
 +- MBstring:
 +  . Updated Unicode data tables to Unicode 17.0. (Yuya Hamada)

  - Standard:
 -  . Fixed bug GH-12265 (Cloning an object breaks serialization recursion).
 -    (nielsdos)
 -  . Fixed bug GH-19701 (Serialize/deserialize loses some data). (nielsdos)
 +  . Passing strings which are not one byte long to ord() is now deprecated.
 +    (Girgias)
+   . Fixed bug GH-19801 (leaks in var_dump() and debug_zval_dump()).
+     (alexandre-daubois)

 -- Zip:
 -  . Fixed bug GH-19688 (Remove pattern overflow in zip addGlob()). (nielsdos)
 +- URI:
 +  . Fixed bug GH-19780 (InvalidUrlException should check $errors argument).
 +    (nielsdos)
 +  . Prevent modifying Uri\WhatWg\Url and Uri\Rfc3986\Uri objects by manually
 +    calling __construct() or __unserialize(). (timwolla)
 +  . Further clean up the internal API. (timwolla)
 +
 +- Windows:
 +  . Fix GH-19722 (_get_osfhandle asserts in debug mode when given a socket).
 +    (dktapps)

 -25 Sep 2025, PHP 8.4.13
 +11 Sep 2025, PHP 8.5.0beta3

  - Core:
 -  . Fixed bug GH-18850 (Repeated inclusion of file with __halt_compiler()
 -    triggers "Constant already defined" warning). (ilutov)
 -  . Partially fixed bug GH-19542 (Scanning of string literals >=2GB will fail
 -    due to signed int overflow). (ilutov)
 -  . Fixed bug GH-19544 (GC treats ZEND_WEAKREF_TAG_MAP references as WeakMap
 -    references). (Arnaud, timwolla)
 +  . Destructing non-array values (other than NULL) using [] or list() now
 +    emits a warning. (Girgias)
 +  . Fixed bug GH-19637 (Incorrect Closure scope for FCC in constant
 +    expression). (timwolla)
    . Fixed bug GH-19613 (Stale array iterator pointer). (ilutov)
    . Fixed bug GH-19679 (zend_ssa_range_widening may fail to converge). (Arnaud)
 +  . Using null as an array offset or when calling array_key_exists() is now
 +    deprecated. (alexandre-daubois)
    . Fixed bug GH-19681 (PHP_EXPAND_PATH broken with bash 5.3.0). (Remi)
 -  . Fixed bug GH-19720 (Assertion failure when error handler throws when
 -    accessing a deprecated constant). (nielsdos)
 +  . Marks the stack as non-executable on Haiku. (David Carlier)
 +  . Deriving $_SERVER['argc'] and $_SERVER['argv'] from the query string is
 +    now deprecated. (timwolla, nicolasgrekas)

  - CLI:
    . Fixed bug GH-19461 (Improve error message on listening error with IPv6