Commit a3fb5ecea9a for php.net

commit a3fb5ecea9a8642372d88bafc5d38c8d082d2469
Merge: f2f63ce5d17 30920e9004b
Author: Gina Peter Banyard <girgias@php.net>
Date:   Sat Sep 19 17:01:03 2026 +0100

    Merge branch 'PHP-8.5'

diff --cc NEWS
index 25513e040f0,ead9e3308b9..fdb9a612872
--- a/NEWS
+++ b/NEWS
@@@ -1,18 -1,17 +1,23 @@@
  PHP                                                                        NEWS
  |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 -?? ??? ????, PHP 8.5.12
 +?? ??? ????, PHP 8.6.0RC1

  - 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)
 +  . Fixed incorrect internal pointer and foreach iterator positions when
 +    compacting arrays with holes. (Weilin Du)
 +  . Fix handling of references to typed properties during unserialization
 +    of various internal classes. (ndossche, timwolla)
 +  . Fixed OSS-Fuzz 532353396 (assertion	failure	with static type). (Girgias)
+   . Fix GH-23662 (Avoid NAN warning in print_r()). (CodedByManish)
+
+ - CLI
+   . Fix GH-22567 (Windows ZTS CLI SAPI should refresh its TSRMLS cache during
+     request activation). (matyhtf)

 +- Date:
 +  . Fix unserialization of Time\Duration. (timwolla)
 +  . Add comparison handler for Time\Duration. (timwolla)
 +
  - DOM:
    . Fixed use-after-free when re-constructing a DOMXPath whose php:function
      registrations are freed while still reachable from the cycle collector.