Commit fbdf9596d35 for php.net
commit fbdf9596d35b6099049429d07e6f67694f3fb0a3
Merge: 430a21f40bf 1982315fd81
Author: Ilia Alshanetsky <ilia@ilia.ws>
Date: Mon Aug 3 19:21:54 2026 -0400
Merge branch 'PHP-8.5'
* PHP-8.5:
[skip ci] Add NEWS entries for the two Reflection fixes
diff --cc NEWS
index 186d6eb5fe6,5c304c5e2b1..460051eed71
--- a/NEWS
+++ b/NEWS
@@@ -1,57 -1,12 +1,61 @@@
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-?? ??? ????, PHP 8.5.10
+?? ??? ????, PHP 8.6.0beta1
- Core:
- . Fixed bug GH-22782 (Const expr FCC crashes under preloading). (Arnaud)
+ . Changed run-tests.php to run test subprocesses without a shell where
+ possible. (NickSdot)
-- Date:
- . Fixed leak on double DatePeriod::__construct() call. (ilutov)
+- GMP:
+ . Added optional $definitely_prime output parameter to gmp_prevprime().
+ (Weilin Du)
+ . Added gmp_powm_sec(). (Weilin Du)
+
+- 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)
+ . Implemented GH-20255 (Add a predefined calendar constant in
+ IntlDateFormatter for the proleptic gregorian calendar). (David Carlier)
+ . Added SpoofChecker::areBidiConfusable(). (David Carlier)
+
+- Reflection:
+ . Added ReflectionAttribute::inNamespace(),
+ ReflectionAttribute::getNamespaceName(), and
+ ReflectionAttribute::getShortName(). (Girgias)
+ . Fixed bug GH-22905 (Reflection exception messages truncate on null bytes).
+ (DanielEScherzer)
++ . Fixed ReflectionProperty::isLazy() and skipLazyInitialization() using the
++ parent slot when a child class hooks an inherited property. (iliaal)
++ . Fixed segfault in ReflectionMethod::createFromMethodName() on an
++ uninstantiable subclass. (iliaal)
+
+- Standard:
+ . Added the "filter.max_filter_count" stream context option for php://filter
+ URLs. Using more than 16 filters without configuring this option is now
+ deprecated. (Sjoerd Langkemper)
+ . 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)
+ . Fixed bug GH-22818 (stream_filter_register() orphaned user_filter_map on
+ shutdown re-registration). (David Carlier)
+
+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