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
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/12108To 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