Bug #70110 [Opn->Ver]: preg_match problem
| From: | cmb@php.net | Date: | Wed, 22 Jul 2015 12:05:15 +0000 |
| Subject: | Bug #70110 [Opn->Ver]: preg_match problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-194616@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70110&edit=1
ID: 70110
Updated by: cmb@php.net
Reported by: bugzilla77 at gmail dot com
Summary: preg_match problem
-Status: Open
+Status: Verified
Type: Bug
-Package: *General Issues
+Package: PCRE related
-Operating System: windows 7 32bit
+Operating System: *
PHP Version: 7.0.0beta1
Block user comment: N
Private report: N
New Comment:
That's related to the PCRE-JIT compilation which is available as
of PHP 7. When pcre.jit=0 it works as expected.
Previous Comments:
------------------------------------------------------------------------
[2015-07-22 09:04:53] bugzilla77 at gmail dot com
Description:
------------
Regresion (PHP 5.6.11 no bugy)
Test script:
---------------
<?php
var_dump(preg_match('/^(A{1,2}B)+$/',str_repeat('AB',8192)));
?>
Expected result:
----------------
int(1)
Actual result:
--------------
bool(false)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70110&edit=1