Bug #81640 [Opn]: preg_match compilation fails after upgrade from 7.4.25 to 7.4.26
| From: | cmb@php.net | Date: | Fri, 19 Nov 2021 17:22:04 +0000 |
| Subject: | Bug #81640 [Opn]: preg_match compilation fails after upgrade from 7.4.25 to 7.4.26 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-237877@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=81640&edit=1
ID: 81640
Updated by: cmb@php.net
Reported by: calvet dot thomas at gmail dot com
Summary: preg_match compilation fails after upgrade from
7.4.25 to 7.4.26
Status: Open
Type: Bug
Package: PCRE related
Operating System: Ubuntu
PHP Version: 7.4.26
Block user comment: N
Private report: N
New Comment:
There is a respective downstream bug report[1]. Not sure which
one is not a bug. :)
[1] <https://github.com/oerdnj/deb.sury.org/issues/1682>
Previous Comments:
------------------------------------------------------------------------
[2021-11-19 16:02:34] calvet dot thomas at gmail dot com
Description:
------------
Hello, after upgrading from PHP 7.4.25 to PHP 7.4.26 on my servers, preg_match and preg_match_all
compilation started to fail with the following error message: "PHP Warning: preg_match_all():
Compilation failed: unrecognised compile-time option bit(s) at offset 0".
To resolve it I had to upgrade the libpcre2-8-0 package. The libpcre2-8-0 was at "version"
10.36, I upgraded it to "version" 10.39.
Test script:
---------------
preg_match('/abc/', 'foo');
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=81640&edit=1