Commit 670165ef838 for php.net

commit 670165ef838a8e0c852acd1591630e140a5a7106
Merge: 66d496061c5 75e28802b4d
Author: Weilin Du <weilindu@php.net>
Date:   Wed Aug 19 13:45:03 2026 +0800

    Merge branch 'PHP-8.5'

    * PHP-8.5:
      ext/gd: Fix incorrect argument numbers in GD affine function errors (#23356)

diff --cc NEWS
index b750a036ed3,790e4ef21da..8c7f02bb94d
--- a/NEWS
+++ b/NEWS
@@@ -28,20 -16,11 +28,24 @@@ PH
    . Fixed a use-after-free when Dom\Element::setAttributeNS() replaces the
      value of an attribute whose child still has a live wrapper. (iliaal)

+ - GD:
+   . Fixed imageaffinematrixget() and imageaffinematrixconcat() reporting the
+     wrong argument in error messages. (Weilin Du)
+
 +- PDO:
 +  . Fixed a leak when a persistent connection failed a liveness check
 +    with no other live PDO handle. (iliaal)
 +
 +- 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)
 +
  - Intl:
 +  . Fixed grapheme_strrev() treating UBRK_DONE as a byte index and leaving
 +    the result without a terminating NUL. (iliaal)
    . Fixed a double-free when IntlGregorianCalendar construction fails after
      the ICU constructor adopts the TimeZone. (iliaal)
    . Fixed bug GH-23094 (NumberFormatter parsing offsets use UTF-16 positions