mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
![]() The code in the attached test used to work correctly in PHP 8.0, but not
in 8.1+. This is because PHP 8.1+ uses a more modern version of pcre2
than PHP 8.0, and that pcre2 versions has a regression.
While upgrading pcre2lib seems to be only done for the master branch, it
is possible to backport upstream fixes to stable branches. This has been
already done in the past in for JIT regressions [1], so it is not
unprecedented.
We backport the upstream pcre2 fix [2].
[1]
|
||
---|---|---|
.. | ||
pcre2lib | ||
tests | ||
config.w32 | ||
config0.m4 | ||
CREDITS | ||
php_pcre.c | ||
php_pcre.def | ||
php_pcre.h | ||
php_pcre.stub.php | ||
php_pcre_arginfo.h |