php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #81557 PHP 8.1 breaks with PCRE 10.37 and lower
Submitted: 2021-10-26 22:38 UTC Modified: 2021-11-14 04:22 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: jalavo9424 at julsard dot com Assigned:
Status: No Feedback Package: PCRE related
PHP Version: 8.1Git-2021-10-26 (Git) OS: Ubuntu
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
37 + 46 = ?
Subscribe to this entry?

 
 [2021-10-26 22:38 UTC] jalavo9424 at julsard dot com
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-11-04 10:15 UTC] nikic@php.net
-Status: Open +Status: Feedback
 [2021-11-04 10:15 UTC] nikic@php.net
PHP 8.1 currently ships with a bundled PCRE 10.37, so that version clearly seems to work?
 [2021-11-14 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 03:01:28 2024 UTC