Bug #81640 [NEW]: preg_match compilation fails after upgrade from 7.4.25 to 7.4.26
| From: | calvet dot thomas at gmail dot com | Date: | Fri, 19 Nov 2021 16:02:34 +0000 |
| Subject: | Bug #81640 [NEW]: preg_match compilation fails after upgrade from 7.4.25 to 7.4.26 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-237873@lists.php.net to get a copy of this message | ||
From: calvet dot thomas at gmail dot com
Operating system: Ubuntu
PHP version: 7.4.26
Package: PCRE related
Bug Type: Bug
Bug description:preg_match compilation fails after upgrade from 7.4.25 to 7.4.26
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 bug report at https://bugs.php.net/bug.php?id=81640&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=81640&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=81640&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=81640&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=81640&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=81640&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=81640&r=support
Expected behavior: https://bugs.php.net/fix.php?id=81640&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=81640&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=81640&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=81640&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81640&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=81640&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=81640&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=81640&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=81640&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=81640&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=81640&r=mysqlcfg