Skip to content

Fix optimizing closures callbacks#3777

Merged
fabpot merged 1 commit intotwigphp:2.xfrom
nicolas-grekas:called-scope
Dec 13, 2022
Merged

Fix optimizing closures callbacks#3777
fabpot merged 1 commit intotwigphp:2.xfrom
nicolas-grekas:called-scope

Conversation

@nicolas-grekas
Copy link
Copy Markdown
Contributor

Follows #3722 and php/php-src#8932

Uses a dedicated method added to PHP 8.1.11 (and 8.0.24, but I feel like there is no need to make the check too complex for an outdated version. We just need a marker to make the code simpler when we'll bump to PHP >= 8.1.11.)

@fabpot
Copy link
Copy Markdown
Contributor

fabpot commented Dec 13, 2022

Thank you @nicolas-grekas.

@fabpot fabpot merged commit fba01bf into twigphp:2.x Dec 13, 2022
@nicolas-grekas nicolas-grekas deleted the called-scope branch July 21, 2023 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants