| 1 | Patch-Source: https://github.com/php/php-src/commit/69480be12afb4040c6dd9275b7836231cdd6f6bb
|
| 2 | From 69480be12afb4040c6dd9275b7836231cdd6f6bb Mon Sep 17 00:00:00 2001
|
| 3 | From: Remi Collet <[email protected]>
|
| 4 | Date: Wed, 12 Mar 2025 07:48:05 +0100
|
| 5 | Subject: [PATCH] Relax test expectation for pcre2lib 10.45 Using
|
| 6 | e92848789acd8aa5cf32fedb519ba9378ac64e02
|
| 7 |
|
| 8 | Co-authored-by: Niels Dossche <[email protected]>
|
| 9 | ---
|
| 10 | ext/pcre/tests/bug75457.phpt | 2 +-
|
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-)
|
| 12 |
|
| 13 | diff --git a/ext/pcre/tests/bug75457.phpt b/ext/pcre/tests/bug75457.phpt
|
| 14 | index ee5ab162f8a6c..1401b25ff6fb7 100644
|
| 15 | |
| 16 | |
| 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)
|