projects/aports·blob master · refs

23 lines · 1.1 KiB

1Patch-Source: https://github.com/php/php-src/commit/69480be12afb4040c6dd9275b7836231cdd6f6bb
2From 69480be12afb4040c6dd9275b7836231cdd6f6bb Mon Sep 17 00:00:00 2001
3From: Remi Collet <[email protected]>
4Date: Wed, 12 Mar 2025 07:48:05 +0100
5Subject: [PATCH] Relax test expectation for pcre2lib 10.45 Using
6 e92848789acd8aa5cf32fedb519ba9378ac64e02
7
8Co-authored-by: Niels Dossche <[email protected]>
9---
10 ext/pcre/tests/bug75457.phpt | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/ext/pcre/tests/bug75457.phpt b/ext/pcre/tests/bug75457.phpt
14index ee5ab162f8a6c..1401b25ff6fb7 100644
15--- a/ext/pcre/tests/bug75457.phpt
16+++ b/ext/pcre/tests/bug75457.phpt
17@@ -6,5 +6,5 @@ $pattern = "/(((?(?C)0?=))(?!()0|.(?0)0)())/";
18 var_dump(preg_match($pattern, "hello"));
19 ?>
20 --EXPECTF--
21-Warning: preg_match(): Compilation failed: assertion expected after (?( or (?(?C) at offset 8 in %sbug75457.php on line %d
22+Warning: preg_match(): Compilation failed:%r( atomic|)%r assertion expected after (?( or (?(?C) at offset 8 in %sbug75457.php on line %d
23 bool(false)