# Bugfix backport for bundled pcre2lib

- Thread: https://externals.io/message/121062
- Original archive: https://news-web.php.net/php.internals/121062
- Started by Niels Dossche on 2023-09-14T17:55:55+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #121062 — Niels Dossche — 2023-09-14T17:55:55+00:00

URL: https://externals.io/message/121062#121062

Hi internals

I currently have a PR open to fix bug https://github.com/php/php-src/issues/11956.
PR link: https://github.com/php/php-src/pull/12108

To give some context:
OP's code worked fine in PHP 8.0 but not in 8.1. That's because pcre2lib got updated in 8.1 and brought a JIT regression with it.
We typically don't update pcre2lib on stable versions, but backporting of upstream pcre2lib patches has happened in the past.
The PR I linked is such a JIT fix backport.

If there are no objections, I'd like to merge this into 8.1 & above in the following few days.

Kind regards
Niels

---

## #121064 — Ben Ramsey — 2023-09-14T21:00:14+00:00

URL: https://externals.io/message/121062#121064 · In reply to: #121062

> Hi internals
> 
> I currently have a PR open to fix bug https://github.com/php/php-src/issues/11956.
> PR link: https://github.com/php/php-src/pull/12108
> 
> To give some context:
> OP's code worked fine in PHP 8.0 but not in 8.1. That's because pcre2lib got updated in 8.1 and brought a JIT regression with it.
> We typically don't update pcre2lib on stable versions, but backporting of upstream pcre2lib patches has happened in the past.
> The PR I linked is such a JIT fix backport.
> 
> If there are no objections, I'd like to merge this into 8.1 & above in the following few days.


I have no objection to backporting this to the PHP-8.1 branch.

Cheers,
Ben
