1
0
mirror of https://github.com/php/php-src.git synced 2026-03-31 20:53:00 +02:00
Files
archived-php-src/ext
Anatol Belski 1a1d86d562 pcre: Workaround bug #81101
The way to fix it is to disable certain match start optimizaions. The
observed performance impact appears negligible ATM, compared to the
functional regression revealed.

A possible side effect might occur if a pattern uses (*COMMIT) or
(*MARK), which is however not a very broadly used syntax in PHP. Still
this should be observed and handled by possibly adding a possibility to
reverse PCRE2_NO_START_OPTIMIZE on the user side.

One test shows a behavior change, where instead of int 0 the match
would produce an error and return false. Except strict comparison
is used, this should be acceptable.

Signed-off-by: Anatol Belski <ab@php.net>
(cherry picked from commit d188ca7688)
Signed-off-by: Anatol Belski <ab@php.net>
2021-06-19 15:23:43 +02:00
..
2019-12-16 10:32:49 -08:00
2021-02-02 10:31:16 +01:00
2021-05-28 23:24:18 +02:00
2020-08-31 09:32:55 +02:00
2020-10-30 15:47:18 +01:00
2021-05-03 15:19:57 +02:00
2020-10-15 10:16:56 +02:00
2020-02-03 13:41:31 +01:00
2020-10-09 15:24:53 +02:00
2021-04-27 10:10:22 +02:00
2020-07-28 10:27:22 +02:00
2021-06-02 12:21:45 +02:00
2021-03-15 14:38:09 +01:00
2021-03-15 14:38:09 +01:00
2021-02-02 16:46:16 +01:00
2021-04-27 22:22:32 +02:00
2021-06-10 10:52:53 +02:00
2021-06-13 16:53:45 +02:00
2021-06-19 15:23:43 +02:00
2020-10-28 12:18:02 +01:00
2020-05-13 23:25:28 +02:00
2020-11-02 11:39:42 +01:00
2020-08-26 12:11:22 +02:00
2020-08-10 12:25:26 +02:00
2020-01-30 13:06:25 +01:00
2020-10-30 15:47:18 +01:00
2021-04-26 12:09:31 +02:00
2020-02-03 13:41:31 +01:00