Bug #81557 [NEW]: PHP 8.1 breaks with PCRE 10.37 and lower

From: Date: Tue, 26 Oct 2021 22:38:21 +0000
Subject: Bug #81557 [NEW]: PHP 8.1 breaks with PCRE 10.37 and lower
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-237391@lists.php.net to get a copy of this message
From:             jalavo9424 at julsard dot com
Operating system: Ubuntu
PHP version:      8.1Git-2021-10-26 (Git)
Package:          PCRE related
Bug Type:         Bug
Bug description:PHP 8.1 breaks with PCRE 10.37 and lower

Description:
------------
With PCRE versions 10.37 and below PHP 8.1 build breaks when preg_match
is called with the warning

PHP Warning:  PHP Startup: ^(text/|application/xhtml\+xml) (offset=0):
unrecognised compile-time option bit(s) in Unknown on line 0



Actual result:
--------------
PHP 8.1 should work with PCRE versions 10.37 and below

-- 
Edit bug report at https://bugs.php.net/bug.php?id=81557&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=81557&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=81557&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=81557&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=81557&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=81557&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=81557&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=81557&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=81557&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=81557&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=81557&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81557&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=81557&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=81557&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=81557&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=81557&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=81557&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=81557&r=mysqlcfg


Thread (3 messages)

« previous php.bugs (#237391) next »