Skip to content

Fix GH-8140: Wrong first class callable by name optimization#8144

Closed
cmb69 wants to merge 1 commit intophp:PHP-8.1from
cmb69:cmb/gh8140
Closed

Fix GH-8140: Wrong first class callable by name optimization#8144
cmb69 wants to merge 1 commit intophp:PHP-8.1from
cmb69:cmb/gh8140

Conversation

@cmb69
Copy link
Copy Markdown
Member

@cmb69 cmb69 commented Feb 23, 2022

When optimizing by name function calls, we must not replace
CALLABLE_CONVERT opcodes, but have to keep them.

When optimizing by name function calls, we must not replace
`CALLABLE_CONVERT` opcodes, but have to keep them.
@cmb69 cmb69 linked an issue Feb 23, 2022 that may be closed by this pull request
@Girgias
Copy link
Copy Markdown
Member

Girgias commented Feb 23, 2022

Tested locally and looks good to me (although I don't really understand the optimizer).

Copy link
Copy Markdown
Member

@nikic nikic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cmb69 cmb69 closed this in 33cd61c Feb 24, 2022
@cmb69 cmb69 deleted the cmb/gh8140 branch February 24, 2022 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

First Class Callable Syntax issue with OpCache

4 participants