Commit f16b1d5d25a for php.net

commit f16b1d5d25a6ed9c03b11f09433e822dbda909a0
Merge: b3cbd55a69f c4a22659f0b
Author: Ilia Alshanetsky <ilia@ilia.ws>
Date:   Thu Aug 27 17:10:12 2026 -0400

    Merge branch 'PHP-8.5'

    * PHP-8.5:
      [standard] Fix crash when filter callback unsets StreamBucket::$data

diff --cc NEWS
index df78bf6abe8,dbce8fde3a0..500f75cc050
--- a/NEWS
+++ b/NEWS
@@@ -1,40 -1,6 +1,42 @@@
  PHP                                                                        NEWS
  |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 -?? ??? ????, PHP 8.5.11
 +?? ??? ????, PHP 8.6.0beta3
 +
 +- CLI:
 +  . Fixed bug GH-23242 (PHP development server does not support Expect
 +    100-continue flow control). (Sjoerd Langkemper)
 +
 +- Intl:
 +  . Fixed a memory leak when iterating IntlBreakIterator::getPartsIterator()
 +    results. (iliaal)
 +  . Fixed a leak in Locale::getKeywords() when a keyword value cannot be
 +    read. (iliaal)
 +
 +- PDO_PGSQL:
 +  . Added Pdo\Pgsql::ATTR_CHUNK_SIZE to fetch a result set in chunks of the
 +    given number of rows. (KentarouTakeda)
 +
 +- PGSQL:
 +  . Fixed the pg_insert(), pg_update() and pg_delete() flag error messages,
 +    which did not name the set of flags actually accepted. (lacatoire)
 +
 +- Phar:
 +  . Fixed bug GH-23418 (Use-after-free when looking up mounted directories).
 +    (Weilin Du)
 +  . Fixed bug GH-23477 (Memory leak on duplicate native Phar manifest entries).
 +    (Weilin Du)
 +
 +- Standard:
++  . Fixed a segfault when a stream filter callback unsets StreamBucket::$data
++    before re-attaching the bucket. (iliaal)
 +  . Fixed an out-of-bounds read when following a redirect response with an
 +    empty Location header. (iliaal)
 +  . Fixed read buffer compaction in php_stream_filter_flush(). (crystarm)
 +  . Io\Poll\Context::wait() now rejects a $maxEvents value greater than
 +    INT_MAX instead of truncating it. (marc-mabe)
 +
 +
 +27 Aug 2026, PHP 8.6.0beta2

  - Core:
    . Fixed bug GH-15375 (Nested "yield from" skips items after a valid() or