Commit 42b7fba03f7 for php.net

commit 42b7fba03f73473fcf5e37108a18d928f15e97b0
Merge: 85913fc61b5 64dd933a06e
Author: Yuya Hamada <youkidearitai@gmail.com>
Date:   Mon Dec 15 11:00:02 2025 +0900

    Merge branch 'PHP-8.5'

diff --cc NEWS
index 181c00bd838,a09a5dfda79..e3c32a4e164
--- a/NEWS
+++ b/NEWS
@@@ -1,23 -1,55 +1,27 @@@
  PHP                                                                        NEWS
  |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 -?? ??? ????, PHP 8.5.2
 +?? ??? ????, PHP 8.6.0alpha1

  - Core:
 -  . Fix OSS-Fuzz #465488618 (Wrong assumptions when dumping function signature
 -    with dynamic class const lookup default argument). (ilutov)
 +  . Added first-class callable cache to share instances for the duration of the
 +    request. (ilutov)
 +  . It is now possible to use reference assign on WeakMap without the key
 +    needing to be present beforehand. (ndossche)

 -- EXIF:
 -  . Fixed bug GH-20631 (Integer underflow in exif HEIF parsing
 -    when pos.size < 2). (Oblivionsage)
 +- Hash:
 +  . Upgrade xxHash to 0.8.2. (timwolla)

 -- LDAP:
 -  . Fix memory leak in ldap_set_options(). (ndossche)
 -
 -- Lexbor:
 -  . Fixed bug GH-20668 (\Uri\WhatWg\Url::withHost() crashes (SEGV) for URLs
 -    using the file: scheme). (lexborisov)
 +- Intl:
 +  . Added IntlNumberRangeFormatter class to format an interval of two numbers
 +    with a given skeleton, locale, collapse type and identity fallback.
 +    (BogdanUngureanu)
 +  . Fixed bug GH-20426 (Spoofchecker::setRestrictionLevel() error message
 +    suggests missing constants). (DanielEScherzer)

+ - Mbstring
+   . Fixed bug GH-20674 (Fix GH-20674 mb_decode_mimeheader does not handle
+     separator). (Yuya Hamada)
+
 -- Sqlite3:
 -  . Fixed bug GH-20699 (SQLite3Result fetchArray return array|false,
 -    null returned). (ndossche, plusminmax)
 -
 -- Standard:
 -  . Fix error check for proc_open() command. (ndossche)
 -
 -18 Dec 2025, PHP 8.5.1
 -
 -- Core:
 -  . Sync all boost.context files with release 1.86.0. (mvorisek)
 -  . Fixed bug GH-20435 (SensitiveParameter doesn't work for named argument
 -    passing to variadic parameter). (ndossche)
 -  . Fixed bug GH-20546 (preserve_none attribute configure check on macOs
 -    issue). (David Carlier/cho-m)
 -  . Fixed bug GH-20286 (use-after-destroy during userland stream_close()).
 -    (ndossche, David Carlier)
 -
 -- Bz2:
 -  . Fix assertion failures resulting in crashes with stream filter
 -    object parameters. (ndossche)
 -
 -- DOM:
 -  . Fix memory leak when edge case is hit when registering xpath callback.
 -    (ndossche)
 -  . Fixed bug GH-20395 (querySelector and querySelectorAll requires elements
 -    in $selectors to be lowercase). (ndossche)
 -  . Fix missing NUL byte check on C14NFile(). (ndossche)
 -
  - Fibers:
    . Fixed bug GH-20483 (ASAN stack overflow with fiber.stack_size INI
      small value). (David Carlier)