Skip to content

zend_compile: Fully remove ZEND_DIM_ALTERNATIVE_SYNTAX #14974

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

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

TimWolla
Copy link
Member

This flag is longer set since the merge of property hooks in 780a828. This patch removes it completely, because the corresponding error messages are unreachable.

This flag is longer set since the merge of property hooks in
780a828. This patch removes it completely,
because the corresponding error messages are unreachable.
Copy link
Member

@iluuu1994 iluuu1994 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for catching this!

@TimWolla TimWolla merged commit 551038b into php:master Jul 16, 2024
9 of 11 checks passed
@TimWolla TimWolla deleted the zend-dim-alternative-syntax branch July 16, 2024 14:28
Jan-E added a commit to Jan-E/php-ast that referenced this pull request Aug 7, 2024
Removed by php/php-src#14974
Offset access syntax with curly braces is no longer supported
The syntax $x{'offset'} should be $x['offset'] in PHP 7.4+
@Jan-E
Copy link
Contributor

Jan-E commented Aug 7, 2024

This commit broke compilation of the PHP AST extension on Windows:
nikic/php-ast#240
Should not it be documented in UPGRADING.INTERNALS ?

@iluuu1994
Copy link
Member

iluuu1994 commented Aug 8, 2024

Indeed, I added a note here: c68b43c
Thanks!

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.

3 participants