Commit 1a48f90c2e0 for php.net
commit 1a48f90c2e09db6c027a9b32f7c413fb11e30baf
Merge: 0ee81b40603 0d9b381beb9
Author: Yuya Hamada <youkidearitai@gmail.com>
Date: Sat Aug 1 12:27:01 2026 +0900
Merge branch 'PHP-8.5'
diff --cc NEWS
index 46adc0e74d1,77c650ec5a9..ad511d6a890
--- a/NEWS
+++ b/NEWS
@@@ -94,23 -26,16 +94,27 @@@ PH
. Fixed bug GH-21036 (mb_ereg_search_getregs() crashes after mb_eregi()
invalidates the regex cache). (Matthias Goergens)
+ - PCRE:
+ . Fixed bug GH-21134 (Crash with \C + UTF-8). Using \C in UTF-8 patterns is
+ now forbidden. (Arnaud)
+
- Sockets:
. Fixed socket_set_option() validation error messages for UDP_SEGMENT and
- SO_LINGER options. (Weilin Du)
+ TCP_USER_TIMEOUT, and SO_LINGER options. (Weilin Du)
. Fixed various memory related issues in ext/sockets. (David Carlier)
+- Standard:
+ . Fixed setlocale() to reject locale names containing NUL bytes instead of
+ silently truncating them, and to reject arrays passed after the $locales
+ argument or additional arguments passed after an array $locales argument.
+ (Weilin Du)
+
- Streams:
+ . Added a new IO copy API used by php_stream_copy_to_stream_ex() that
+ leverages platform primitives (sendfile, splice, copy_file_range,
+ TransmitFile) for faster stream copying. (Jakub Zelenka, David Carlier)
+ . Fixed bug GH-22841 (php_stream_copy_to_stream_ex() drops progress
+ notifications when using the copy fast path). (David Carlier)
. Fixed bug GH-15836 (Use-after-free when a user stream filter accesses
$this->stream during the close flush). (iliaal)