Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dedicated zend_ast_op_array struct #17391

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

TimWolla
Copy link
Member

@TimWolla TimWolla commented Jan 7, 2025

Given that the ZEND_AST_OP_ARRAY type already needed special handling in various places, it makes sense to give it its own struct to avoid some of the casts. As a side benefit, it is a little smaller than the zend_ast_zval struct.


This was spun out of #17120.

Given that the `ZEND_AST_OP_ARRAY` type already needed special handling in
various places, it makes sense to give it its own struct to avoid some of the
casts. As a side benefit, it is a little smaller than the `zend_ast_zval`
struct.
@TimWolla TimWolla merged commit cee64ed into php:master Jan 8, 2025
10 checks passed
@TimWolla TimWolla deleted the zend-ast-op-array-own-struct branch January 8, 2025 11:05
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