Commit 48786b4dc10 for php

commit 48786b4dc10c3512ce84c19d028325028c3b0b00
Merge: 56e3429f253 b0c8e27b27b
Author: Weilin Du <weilindu@php.net>
Date:   Sat Oct 24 00:39:50 2026 +0800

    Merge branch 'PHP-8.4' into PHP-8.5

    * PHP-8.4:
      Fix GH-24308: Preserve syslog handles not opened by PHP (#24310)

diff --cc NEWS
index 0b0450074b1,cb68d41c333..cedad818180
--- a/NEWS
+++ b/NEWS
@@@ -112,7 -125,17 +112,9 @@@ PH
    . Fixed session data loss in the files save handler when writing the session
      file fails after it was already truncated. (Ilia Alshanetsky)

 -- SimpleXML:
 -  . Fixed bug GH-24488 (GC double-frees the SimpleXMLElement properties
 -    table). (evankford)
 -
  - Standard:
+   . Fixed bug GH-24308 (Request shutdown calls closelog() even when syslog
+     was not opened by PHP). (lazerg)
 -  . Fixed bug GH-24399 (usleep() and time_nanosleep() ignore queued APCs on
 -    Windows). (Nicolas Grekas)
 -  . Fixed chown() and lchown() failing to resolve user names in ZTS builds
 -    when getpwnam_r() needs a larger buffer. (Ilia Alshanetsky)
    . Fixed password_get_info() and password_needs_rehash() accepting malformed
      bcrypt costs. (Ilia Alshanetsky)
    . Fixed proc_open() null descriptor not being inheritable on Windows.