Commit 3ef966ceb72 for php.net

commit 3ef966ceb7231ba9d3f6cbfdf32fb0d794ef8e70
Author: Niels Dossche <7771979+ndossche@users.noreply.github.com>
Date:   Mon Nov 3 21:31:59 2025 +0100

    Revert "Update pcre2lib from 10.45 to 10.46 (#19618)"

    This reverts commit 84b78c047e04b81c3d92a890da593ddda3ba35a2.

diff --git a/UPGRADING b/UPGRADING
index b0f3c9155b3..178cef3e7b2 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -870,7 +870,7 @@ PHP 8.5 UPGRADE NOTES
     RFC: https://wiki.php.net/rfc/url_parsing_api

 - PCRE:
-  . Upgraded pcre2lib from 10.44 to 10.46.
+  . Upgraded pcre2lib from 10.44 to 10.45.

 - PDO_Sqlite:
   . Increased minimum release version support from 3.7.7 to 3.7.17.
diff --git a/ext/pcre/pcre2lib/pcre2.h b/ext/pcre/pcre2lib/pcre2.h
index 74326089673..6d1a8758ba9 100644
--- a/ext/pcre/pcre2lib/pcre2.h
+++ b/ext/pcre/pcre2lib/pcre2.h
@@ -42,9 +42,9 @@ POSSIBILITY OF SUCH DAMAGE.
 /* The current PCRE version information. */

 #define PCRE2_MAJOR           10
-#define PCRE2_MINOR           46
+#define PCRE2_MINOR           45
 #define PCRE2_PRERELEASE
-#define PCRE2_DATE            2025-08-27
+#define PCRE2_DATE            2025-02-05

 /* When an application links to a PCRE DLL in Windows, the symbols that are
 imported have to be identified as such. When building PCRE2, the appropriate
diff --git a/ext/pcre/pcre2lib/pcre2_match.c b/ext/pcre/pcre2lib/pcre2_match.c
index 34a92eaa36e..5adc0348052 100644
--- a/ext/pcre/pcre2lib/pcre2_match.c
+++ b/ext/pcre/pcre2lib/pcre2_match.c
@@ -5824,9 +5824,6 @@ fprintf(stderr, "++ %2ld op=%3d %s\n", Fecode - mb->start_code, *Fecode,
               assert_accept_frame->offset_top * sizeof(PCRE2_SIZE));
         Foffset_top = assert_accept_frame->offset_top;
         Fmark = assert_accept_frame->mark;
-        mb->end_subject = Lsaved_end_subject;
-        mb->true_end_subject = mb->end_subject + Ltrue_end_extra;
-        mb->moptions = Lsaved_moptions;
         break;
         }