Commit b8bcbbc5250 for php.net
commit b8bcbbc5250ac2a611256fc18b2013862b23f7ed
Merge: 9905878a4ad 05202568c43
Author: Ilia Alshanetsky <ilia@ilia.ws>
Date: Tue Aug 4 15:28:03 2026 -0400
Merge branch 'PHP-8.5'
* PHP-8.5:
Fix GH-23016: pdo_odbc returns garbage for NULL long columns
diff --cc NEWS
index b8bd4280baa,b069e00a86b..51ba7d5a208
--- a/NEWS
+++ b/NEWS
@@@ -1,62 -1,12 +1,66 @@@
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)
+ . Added SpoofChecker::getBidiSkeleton(). (Weilin Du)
+
++- PDO_ODBC:
++ . Fixed bug GH-23016 (NULL values in long columns come back as garbage
++ binary strings). (Calvin Buckley, iliaal)
++
+- 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