Skip to content

Commit 3ef966c

Browse files
committed
Revert "Update pcre2lib from 10.45 to 10.46 (#19618)"
This reverts commit 84b78c0.
1 parent cf3b305 commit 3ef966c

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

UPGRADING

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ PHP 8.5 UPGRADE NOTES
870870
RFC: https://wiki.php.net/rfc/url_parsing_api
871871

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

875875
- PDO_Sqlite:
876876
. Increased minimum release version support from 3.7.7 to 3.7.17.

ext/pcre/pcre2lib/pcre2.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ POSSIBILITY OF SUCH DAMAGE.
4242
/* The current PCRE version information. */
4343

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

4949
/* When an application links to a PCRE DLL in Windows, the symbols that are
5050
imported have to be identified as such. When building PCRE2, the appropriate

ext/pcre/pcre2lib/pcre2_match.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5824,9 +5824,6 @@ fprintf(stderr, "++ %2ld op=%3d %s\n", Fecode - mb->start_code, *Fecode,
58245824
assert_accept_frame->offset_top * sizeof(PCRE2_SIZE));
58255825
Foffset_top = assert_accept_frame->offset_top;
58265826
Fmark = assert_accept_frame->mark;
5827-
mb->end_subject = Lsaved_end_subject;
5828-
mb->true_end_subject = mb->end_subject + Ltrue_end_extra;
5829-
mb->moptions = Lsaved_moptions;
58305827
break;
58315828
}
58325829

0 commit comments

Comments
 (0)