Commit 198bf7f0be4 for php.net

commit 198bf7f0be486e27bdb1cb81986a4498e33a09d0
Merge: a5a94766b68 94d00c93273
Author: Weilin Du <weilindu@php.net>
Date:   Sun Aug 2 00:17:25 2026 +0800

    Merge branch 'PHP-8.5'

    * PHP-8.5:
      ext/intl: Reset IntlListFormatter error state in constructor (#22931)

diff --cc NEWS
index ad511d6a890,78d561c2598..0d5b6300fc7
--- a/NEWS
+++ b/NEWS
@@@ -1,41 -1,12 +1,43 @@@
  PHP                                                                        NEWS
  |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 -?? ??? ????, PHP 8.5.10
 +?? ??? ????, PHP 8.6.0beta1

 -- Core:
 -  . Fixed bug GH-22782 (Const expr FCC crashes under preloading). (Arnaud)
 +- GMP:
 +  . Added optional $definitely_prime output parameter to gmp_prevprime().
 +    (Weilin Du)
 +  . Added gmp_powm_sec(). (Weilin Du)

 -- Date:
 -  . Fixed leak on double DatePeriod::__construct() call. (ilutov)
 +- Intl:
 +  . Fixed Collator::sort(), collator_sort(), Collator::asort(), and
 +    collator_asort() to report UTF-8/UTF-16 conversion errors through the intl
 +    error handler instead of emitting a warning and continuing with an empty
 +    string. (Weilin Du)
++  . Fixed IntlListFormatter::__construct() leaving stale global error state
++    after successful calls. (Weilin Du)
 +
 +- Reflection:
 +  . Added ReflectionAttribute::inNamespace(),
 +    ReflectionAttribute::getNamespaceName(), and
 +    ReflectionAttribute::getShortName(). (Girgias)
 +
 +- Standard:
 +  . The following functions now raise a ValueError when the $filename argument
 +    contains NUL bytes: fileperms(), fileinode(), filesize(), fileowner(),
 +    filegroup(), fileatime(), filemtime(), filectime(), filetype(),
 +    is_writable(), is_readable(), is_executable(), is_file(), is_dir(),
 +    is_link(), file_exists(), lstat(), stat(). (Girgias)
 +
 +30 Jul 2026, PHP 8.6.0alpha3
 +
 +- Core:
 +  . Implemented partial function application RFC. (Arnaud)
 +  . Fixed bug GH-22263 (reset typed property default on every unserialize
 +    failure path). (David Carlier)
 +  . Fixed bug GH-18985 (Wrong line numbers for match with constant arms).
 +    (ilutov)
 +  . Fixed bug GH-18847 (SEGV in zend_fetch_debug_backtrace() when the memory
 +    limit is reached while the tracing JIT enters a call frame). (Arnaud,
 +    iliaal)

  - DOM:
    . Fixed bug GH-22825 (DOMElement::setAttribute() fails silently when the DTD