Commit 1efdcc6b654 for php

commit 1efdcc6b654fa4510478d4f479f9c00052d807fc
Merge: e97d5f6405e 021acbe980c
Author: Ilia Alshanetsky <ilia@ilia.ws>
Date:   Wed Sep 30 07:46:48 2026 -0400

    Merge branch 'PHP-8.4' into PHP-8.5

    * PHP-8.4:
      sapi/cli: Fix built-in server truncating responses after a partial write

diff --cc NEWS
index 530749ccd7d,3e045040774..80622ec42c4
--- a/NEWS
+++ b/NEWS
@@@ -18,12 -24,8 +18,14 @@@ PH
    . Fixed AVX being reported as supported when the OS has not enabled AVX
      state. (Ilia Alshanetsky)
    . Fixed GH-23980 (ZEND_ASSERT violation @ ZEND_INCLUDE_OR_EVAL). (ndossche)
 -  . Fixed bug GH-23896 (Assertion failure in zend_call_function() after a
 -    throwing deprecation). (lazerg)
 +
 +- CLI
 +  . Fix GH-22567 (Windows ZTS CLI SAPI should refresh its TSRMLS cache during
 +    request activation). (matyhtf)
 +  . Fixed bug GH-23764 (Built-in server leaks a file descriptor on every HEAD
 +    request for a static file). (jakubskopal)
++  . Fixed the built-in server truncating an error page and leaking its
++    unsent part after a partial socket write. (Ilia Alshanetsky)

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