Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
  Fix #81424: PCRE2 10.35 JIT performance regression
This commit is contained in:
Christoph M. Becker 2021-09-13 14:35:34 +02:00
commit 12e79ddae4
No known key found for this signature in database
GPG Key ID: D66C9593118BCCB6
2 changed files with 4 additions and 1 deletions

3
NEWS
View File

@ -6,6 +6,9 @@ PHP NEWS
. Fixed bug #81433 (DOMElement::setIdAttribute() called twice may remove ID).
(Viktor Volkov)
- PCRE:
. Fixed bug #81424 (PCRE2 10.35 JIT performance regression). (cmb)
23 Sep 2021, PHP 8.0.11
- Core:

View File

@ -11152,7 +11152,7 @@ early_fail_type = (early_fail_ptr & 0x7);
early_fail_ptr >>= 3;
/* During recursion, these optimizations are disabled. */
if (common->early_fail_start_ptr == 0)
if (common->early_fail_start_ptr == 0 && common->fast_forward_bc_ptr == NULL)
{
early_fail_ptr = 0;
early_fail_type = type_skip;