Commit b882019d155 for php

commit b882019d155a37a5728ad2df5990b261d09a47ab
Merge: 4f4345df5c1 cd402519619
Author: Weilin Du <weilindu@php.net>
Date:   Tue Dec 1 03:36:33 2026 +0800

    Merge branch 'PHP-8.4' into PHP-8.5

    * PHP-8.4:
      Fix fd leak in compress.zlib:// when gzdopen() fails (#25794)

diff --cc NEWS
index 2f861f17f54,a5b81877ebc..19324a39fd4
--- a/NEWS
+++ b/NEWS
@@@ -319,7 -337,13 +319,11 @@@ PH
    . Fixed a crash in XSLTProcessor::transformToDoc() when the return class
      cannot be instantiated. (Ilia Alshanetsky)

+ - Zlib:
 -  . Fixed gzwrite() and fwrite() on a compress.zlib:// stream reporting a
 -    failed write as a successful write of 0 bytes. (lacatoire)
+   . Fixed a file descriptor leak when opening a compress.zlib:// stream
+     fails. (lacatoire)
+
 -19 Nov 2026, PHP 8.4.28
 +19 Nov 2026, PHP 8.5.13

  - Core:
    . Fixed bug GH-24184 (System ID not being reinitialized after an Apache