[PHP-CVS] [php-src] master: [skip ci] Restore NEWS entry for GH-18985 in old release notes

[email protected] (Ilija Tovilo)
Newsgroups php.cvs
Message-ID <[email protected]>
Author: Ilija Tovilo (iluuu1994)
Date: 2026-08-13T12:44:02+02:00

Commit: https://github.com/php/php-src/commit/32641fbedb16bef66b0b57fa4f199169408b38b8
Raw diff: https://github.com/php/php-src/commit/32641fbedb16bef66b0b57fa4f199169408b38b8.diff

[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.

Changed paths:
  M  NEWS


Diff:

diff --git a/NEWS b/NEWS
index 930f40fc25e3..d3b9b62ce8b2 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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.