Commit e229eeac907 for php

commit e229eeac907f40227587b281f8ba5c90302955fc
Merge: 5a6116fe34b 44a2a2c3db9
Author: Jorg Sowa <jorg.sowa@gmail.com>
Date:   Tue Nov 3 11:15:28 2026 +0100

    Merge branch 'PHP-8.5' into PHP-8.6

    # Conflicts:
    #       NEWS

diff --cc NEWS
index 1fca9d7c889,8fcac3a57a5..d0b8e04c39a
--- a/NEWS
+++ b/NEWS
@@@ -21,8 -37,9 +21,11 @@@ PH
      (Jorg Sowa)
    . Fixed bug GH-25061 ($x = $x - 1 on null is optimized to PRE_DEC).
      (Lazizbek Ergashev)
 +  . Fixed bug GH-23911 (Don't use static closure cache when called_scope
 +    diverges). (Roman Ondráček)
+   . Fixed first-class callables to static methods in trait constant
+     expressions resolving to the method of the first using class and
+     bypassing visibility checks. (Jorg Sowa)

  - CLI:
    . Fixed bug GH-24697 (PHP_HTTP_PARSER_STRICT build option doesn't work).