Commit 32641fbedb1 for php.net

commit 32641fbedb16bef66b0b57fa4f199169408b38b8
Author: Ilija Tovilo <ilija.tovilo@me.com>
Date:   Thu Aug 13 12:44:02 2026 +0200

    [skip ci] Restore NEWS entry for GH-18985 in old release notes

    And instead note that the change was reverted in the notes for the new version.

diff --git a/NEWS b/NEWS
index 930f40fc25e..d3b9b62ce8b 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,7 @@ PHP                                                                        NEWS
     next() call on the inner generator). (iliaal)
   . Fixed GH-10497 (Allow direct mutation of objects stored in constants or
     class constants via OBJ->prop = $val). (Khaled Alam)
+  . Reverted GH-22833, which attempted to fix bug GH-18985. (ilutov)

 - PDO_PGSQL:
   . Fixed several lazy fetch (PDO::ATTR_PREFETCH => 0) defects: an infinite
@@ -197,6 +198,8 @@ PHP                                                                        NEWS
   . Implemented partial function application RFC. (Arnaud)
   . Fixed bug GH-22263 (reset typed property default on every unserialize
     failure path). (David Carlier)
+  . Fixed bug GH-18985 (Wrong line numbers for match with constant arms).
+    (ilutov)
   . Fixed bug GH-18847 (SEGV in zend_fetch_debug_backtrace() when the memory
     limit is reached while the tracing JIT enters a call frame). (Arnaud,
     iliaal)