Commit 1dc77d55b1f for php

commit 1dc77d55b1f66fc918a0a9646117c2cc420ff00e
Merge: 5d87aa7409c 131adb5aa12
Author: Weilin Du <weilindu@php.net>
Date:   Fri Nov 27 00:13:03 2026 +0800

    Merge branch 'PHP-8.5' into PHP-8.6

    * PHP-8.5:
      Fix stale string metadata in sodium_add() and sodium_increment() (#25775)

diff --cc NEWS
index 347850af3d3,3b3e0159984..8222edce215
--- a/NEWS
+++ b/NEWS
@@@ -237,18 -221,18 +237,22 @@@ PH
      throws an Error instead of returning an object with unresolved values.
      (Ilia Alshanetsky)

 +- SOAP:
 +  . Fixed bug GH-25267 (NULL dereference in to_xml_any() with integer key).
 +    (lazerg)
 +  . Fixed bug GH-25303 (NULL encoder dereference in to_xml_list() error
 +    message). (lazerg)
 +  . Fixed NULL dereference in SoapServer::handle() with an empty Body and a
 +    SOAPAction matching an RPC operation. (Jorg Sowa)
 +
  - Sockets:
 -  . Fixed socket_addrinfo_lookup() rejecting an empty packed hints array.
 -    (lacatoire)
 +  . Fixed bug GH-25530 (socket_last_error() without a socket returns an error
 +    from a previous request). (Artem Ukrainskiy)

+ - Sodium:
+   . Fixed sodium_add() and sodium_increment() retaining stale string hashes
+     and UTF-8 validity flags. (lacatoire)
+
 -- SPL:
 -  . Fixed memory leak of the static variables of a file loaded by
 -    spl_autoload(). (lacatoire)
 -
  - Standard:
    . Fixed bug GH-25474 (version_compare() treats large numeric parts as equal
      on 64-bit Windows). (lazerg, timwolla)