Skip to content

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Aug 24, 2025

See motivation in: #19045 (comment)

One problem is that during the chain we reach zend_ast_evaluate() which passes the scope to zend_ast_evaluate_inner(), which passes the scope to zend_create_closure(), this then assigns this to the called_scope field of zend_closure.
However, this field is accessible via the **ce_ptr argument of zend_closure_get_closure(), and this then creates a whole new chain of being used in FCCs that I haven't been able to track yet.

@TimWolla
Copy link
Member

Would probably make sense to split this into more self-contained commits. e.g. the zend_read_property* changes are independently useful.

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.

2 participants