php-src/ext
Niels Dossche d61efdfe97 Fix GH-11956: PCRE regular expressions with JIT enabled gives different result
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] https://github.com/php/php-src/commit/788a701e222
[2] https://github.com/PCRE2Project/pcre2/pull/135

Closes GH-12108.
2023-09-18 20:11:56 +02:00
..
bcmath
bz2 Merge branch 'PHP-8.0' into PHP-8.1 2022-06-25 07:39:55 +01:00
calendar Add more specific array return type hints for various extensions - part 1 2021-11-07 08:46:25 +01:00
com_dotnet Merge branch 'PHP-8.0' into PHP-8.1 2022-06-18 11:50:14 +02:00
ctype
curl Fix EXPECT for bug52820.phpt on newer curl versions 2023-08-10 15:51:53 +02:00
date Fix GH-11416: Crash with DatePeriod when uninitialised objects are passed in 2023-08-09 15:39:13 +01:00
dba Merge branch 'PHP-8.0' into PHP-8.1 2022-07-27 12:13:32 +02:00
dl_test [skip ci] Fix borked xleak skip on <PHP-8.3 2023-09-01 12:39:03 +02:00
dom Add missing EXTENSIONS section to DOM tests 2023-08-26 18:37:42 +02:00
enchant Add more specific array return type hints for various extensions - part 1 2021-11-07 08:46:25 +01:00
exif Fix GH-10834: exif_read_data() cannot read smaller stream wrapper chunk sizes 2023-05-12 23:37:00 +02:00
ffi Fix leaking definitions on FFI::cdef()->new() 2023-07-21 10:42:19 +02:00
fileinfo fileinfo: Backport xz detection fix 2023-07-01 17:58:38 +02:00
filter Fix filter_var with callback and explicit REQUIRE_SCALAR 2023-09-14 11:48:40 +02:00
ftp Fix GH-10562: Memory leak and invalid state with consecutive ftp_nb_fget 2023-07-07 17:55:53 +02:00
gd Fix most external GD 2.3.3 compatibility 2023-07-06 21:39:40 +02:00
gettext
gmp Merge branch 'PHP-8.0' into PHP-8.1 2022-09-13 11:33:09 +01:00
hash Fix GH-12186: segfault copying/cloning a finalized HashContext 2023-09-16 21:18:27 +02:00
iconv ext/iconv: fix build for netbsd. 2023-08-19 23:09:22 +01:00
imap Fix GH-11629: bug77020.phpt tries to send mail 2023-07-10 13:29:49 +02:00
intl Fixed bug GH-12020: intl_get_error_message() broken after MessageFormatter::formatMessage() fails 2023-09-03 01:02:46 +01:00
json Expose JSON internal function to escape string 2023-05-13 18:41:33 +01:00
ldap Fix GH-10112: LDAP\Connection::__construct() refers to ldap_create() 2022-12-16 14:36:30 +01:00
libxml Merge branch 'PHP-8.0' into PHP-8.1 2023-07-31 19:53:43 +01:00
mbstring Fix GH-11300: license issue: restricted unicode license headers 2023-07-01 21:55:21 +02:00
mysqli Fix failing test on nightly 2023-08-17 18:45:10 +01:00
mysqlnd Fix implicit/explicit port in mysqlnd 2023-08-16 18:59:07 +01:00
oci8 Unparallelize IO heavy tests 2023-03-27 16:33:36 +02:00
odbc ODBC unit tests shouldn't override odbc.ini location 2023-09-06 01:56:04 +01:00
opcache Fixed tracing JIT support for CALLABLE_CONVERT (#12156) 2023-09-08 18:27:13 +03:00
openssl Fix CS and checking for IPv6 SAN verify 2023-06-09 16:49:09 +01:00
pcntl Revert the fix for GH-11498 2023-08-03 21:48:34 +02:00
pcre Fix GH-11956: PCRE regular expressions with JIT enabled gives different result 2023-09-18 20:11:56 +02:00
pdo Fix GH-11587 PDO::ATTR_STRINGIFY_FETCHES should return strings even in if PDO::ATTR_EMULATE_PREPARES is enabled 2023-07-17 07:08:45 +01:00
pdo_dblib Merge branch 'PHP-8.0' into PHP-8.1 2022-08-26 14:59:08 +02:00
pdo_firebird Fix GH-10908: Bus error with PDO Firebird on RPI with 64 bit kernel and 32 bit userland 2023-03-27 21:01:06 +02:00
pdo_mysql Fix MySQL Statement has a empty query result when the response field has changed, also Segmentation fault 2023-08-04 22:25:01 +01:00
pdo_oci Unparallelize IO heavy tests 2023-03-27 16:33:36 +02:00
pdo_odbc Fix missing and inconsistent error check on SQLAllocHandle 2023-03-15 21:36:50 +01:00
pdo_pgsql Merge branch 'PHP-8.0' into PHP-8.1 2022-09-05 17:26:13 +02:00
pdo_sqlite Fix GH-11492: Make test failure: ext/pdo_sqlite/tests/bug_42589.phpt 2023-06-22 20:49:00 +02:00
pgsql ext/pgsql: fix PGtrace invalid free issue. 2023-06-18 13:44:39 +01:00
phar Mark buildFromIterator test as conflicting 2023-08-04 21:08:39 +02:00
posix Fix GH-10202: posix_getgr(gid|nam)_basic.phpt fail 2023-01-02 16:54:47 +00:00
pspell Add more specific array return type hints for various extensions - part 4 (#7469) 2021-09-06 17:14:52 +02:00
readline [skip ci] Fix race condition in readline test 2023-05-26 11:39:22 +02:00
reflection Fix segfault in format_default_value due to unexpected enum/object 2023-08-17 18:43:11 +02:00
session Remove session ID set through REQUEST_URI 2023-06-22 12:35:55 +02:00
shmop Use --EXTENSIONS-- section for new test 2021-09-02 23:49:05 +02:00
simplexml Fix GH-12208: SimpleXML infinite loop when a cast is used inside a foreach 2023-09-17 16:33:32 +02:00
skeleton Ignore generated files by tests in extension skeleton 2021-09-29 11:59:05 +02:00
snmp Fix bug #81598: Use C.UTF-8 as LC_CTYPE locale by default 2021-12-05 21:03:27 +01:00
soap [skip ci] Fix trailing data in unserialize in soap test 2023-08-28 17:24:45 +02:00
sockets Fix uninitialized variable accesses in sockets/conversions 2023-03-29 19:44:30 +02:00
sodium Remove extra space before return type 2021-10-18 14:28:46 +02:00
spl Fix GH-11972: RecursiveCallbackFilterIterator regression in 8.1.18 2023-08-30 22:30:59 +02:00
sqlite3 Fix GH-11878: SQLite3 callback functions cause a memory leak with a callable array 2023-09-09 15:33:50 +02:00
standard [skip ci] Fix borked xleak skip on <PHP-8.3 2023-09-01 12:39:03 +02:00
sysvmsg
sysvsem
sysvshm Add Windows GitHub actions build 2023-03-01 23:02:03 +01:00
tidy Unparallelize IO heavy tests 2023-03-27 16:33:36 +02:00
tokenizer Add missing EXTENSION section to tests 2022-10-27 14:39:43 +01:00
xml Merge branch 'PHP-8.0' into PHP-8.1 2023-07-31 19:53:43 +01:00
xmlreader Merge branch 'PHP-8.0' into PHP-8.1 2023-07-31 20:01:03 -05:00
xmlwriter Fix missing check for xmlTextWriterEndElement 2023-01-15 15:34:43 +00:00
xsl Merge branch 'PHP-8.0' into PHP-8.1 2023-07-31 19:53:43 +01:00
zend_test adds failing test case for #12060 2023-09-05 10:23:22 +01:00
zip [skip ci] Fix tmp file clash in ext/zip/tests/oo_cancel.phpt 2023-05-01 15:28:59 +02:00
zlib Fix incorrect string length for output_handler in zlib ini code 2023-02-23 18:47:26 +00:00
ext_skel.php