Commit 7d796b7dbf9 for php.net

commit 7d796b7dbf9e2800c711277e72d5913500576319
Merge: 697d1ba98ea 293f22e5ec1
Author: Weilin Du <weilindu@php.net>
Date:   Wed Sep 16 00:44:01 2026 +0800

    Merge branch 'PHP-8.4' into PHP-8.5

    * PHP-8.4:
      Revert Zend: Fix iterator relocation at the current element during rehash in 8.4 and 8.5

diff --cc NEWS
index 811893eff58,7b552a67284..e1b86f47533
--- a/NEWS
+++ b/NEWS
@@@ -1,12 -1,6 +1,10 @@@
  PHP                                                                        NEWS
  |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 -?? ??? ????, PHP 8.4.27
 +?? ??? ????, PHP 8.5.12
 +
 +- Core:
-   . Fixed incorrect internal pointer and foreach iterator positions when
-     compacting arrays with holes. (Weilin Du)
 +  . Fixed bug GH-23644 (Optimizer leaves a constant-vs-constant comparison
 +    unfolded, crashing the VM in zval_undefined_cv). (ndossche)

  - DOM:
    . Fixed use-after-free when re-constructing a DOMXPath whose php:function