Skip to content

Fix GH-23979: Nullsafe operator must not flush delayed oplines of an enclosing function - #23984

Open
ndossche wants to merge 1 commit into
php:PHP-8.4from
ndossche:meerkapot1
Open

ndossche wants to merge 1 commit into
php:PHP-8.4from
ndossche:meerkapot1

Conversation

@ndossche

Copy link
Copy Markdown
Member

The fetch of ${$name} is delayed until the whole expr has been compiled. But the closure in the brackets is compiled meanwhile, and uses the same delayed-opline stack. We havet o bound the loop.

…an enclosing function

The fetch of `${$name}` is delayed until the whole expr has been
compiled. But the closure in the brackets is compiled meanwhile, and
uses the same delayed-opline stack. We havet o bound the loop.
@ndossche ndossche linked an issue Sep 29, 2026 that may be closed by this pull request
@ndossche
ndossche requested a review from arnaud-lb September 29, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Delayed fetch miscompile

1 participant