Commit 7e130da928c for php.net

commit 7e130da928c839541f4b8ffb25631f395404ba22
Merge: fde23dffbcb b0ae3d5c84f
Author: Weilin Du <weilindu@php.net>
Date:   Wed Aug 12 22:28:10 2026 +0800

    Merge branch 'PHP-8.5'

    * PHP-8.5:
      ext/readline: Fix class constant completion in readline interactive shell (#23218)

diff --cc NEWS
index fa2bc69c39f,72c4bb81866..3a5f0849161
--- a/NEWS
+++ b/NEWS
@@@ -6,46 -6,20 +6,49 @@@ PH
    . Fixed bug GH-15375 (Nested "yield from" skips items after a valid() or
      next() call on the inner generator). (iliaal)

 -- Readline:
 -  . Fixed the interactive shell not waiting for the pager process to exit.
 -    (Weilin Du)
 +- PDO_PGSQL:
 +  . Fixed several lazy fetch (PDO::ATTR_PREFETCH => 0) defects: an infinite
 +    loop when cleaning up a fetch left in a COPY, a use-after-free when a
 +    statement with emulated or disabled prepares is destroyed, a connection
 +    left busy for the next fetch, and rows delivered from a result another
 +    statement took over. (KentarouTakeda)

++- Readline:
++  . Fixed class constant completion in the interactive shell. (Weilin Du)
+
 -27 Aug 2026, PHP 8.5.10
 +13 Aug 2026, PHP 8.6.0beta1

  - Core:
 -  . Fixed bug GH-22782 (Const expr FCC crashes under preloading). (Arnaud)
 -  . Fixed bug GH-23088 (Stack overflow when comparing deeply nested arrays).
 -    (Lazizbek Ergashev)
 +  . Deprecated "namespace" as a class constant name. (NickSdot)
 +  . Changed run-tests.php to run in parallel by default, using up to 10
 +    automatically detected workers. Pass -j1 for sequential execution.
 +    (NickSdot)
 +  . Allowed readonly properties to declare default values. (NickSdot)
 +  . Changed run-tests.php to run test subprocesses without a shell where
 +    possible. (NickSdot)
 +  . Fixed GH-23083 (SEGV build_trace_args in zend_exceptions.c with
 +    -d error_include_args=On). (David Carlier)
 +  . Fixed GH-23121 (is_callable() wrongly accepts objects with no get_closure
 +    handler). (David Carlier)
 +  . Passing a 3rd argument to define() is now deprecated. (Girgias)
 +  . Naming a function readonly is now deprecated. (Girgias)
 +  . Added stateless closure cache. (ilutov)
 +
 +- BZ2:
 +  . Passing an object for the Bzip2 {de}compression stream filter is now
 +    deprecated. Use get_object_vars() on the object instead. (Girgias)
 +
 +- Curl:
 +  . Improved cURL option validation errors to include the option name.
 +    (Sjoerd Langkemper)
 +  . Raise a value error when the callback registered with CURLOPT_READFUNCTION
 +    returns an unexpected long. (Sjoerd Langkemper)
 +  . Fix bug GH-16513 (curl: exceptions in callbacks do not abort the request).
 +    (Sjoerd Langkemper)

  - Date:
 -  . Fixed leak on double DatePeriod::__construct() call. (ilutov)
 +  . Update timelib to 2026.02. (Derick, timwolla)
 +  . Added Time\Duration. (timwolla, Derick)

  - DOM:
    . Fixed bug GH-23116 (Stack overflow when normalizing a deeply nested