Commit 46aab15eba9 for php

commit 46aab15eba90f89e331c4a9c582a21f68156b700
Merge: 0f4d0b4abb7 269f7b762b5
Author: ndossche <7771979+ndossche@users.noreply.github.com>
Date:   Sun Oct 11 01:06:53 2026 +0200

    Merge branch 'PHP-8.5' into PHP-8.6

    * PHP-8.5:
      Fix exception checks due to NAN warnings and object empty()'s

diff --cc NEWS
index a4b3d143c37,262f3f4fd7a..641488d813f
--- a/NEWS
+++ b/NEWS
@@@ -26,14 -30,9 +26,15 @@@ PH
    . Fix type inference of ADD_ARRAY_UNPACK with integer keys. (ndossche)
    . Fix too wide type inference for ASSIGN_DIM_OP. (ndossche)
    . Fix OSS-Fuzz #568005340 (FETCH_DIM_FUNC_ARG partial conversion). (ndossche)
+   . Fix exception checks due to NAN warnings and object empty()'s. (ndossche)

 +- Phar:
 +  . Fixed GH-24166 (Double-free in Phar::webPhar() in CGI without PATH_INFO).
 +    (RigelYoung, Jakub Zelenka)
 +
  - Standard:
 +  . 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)