Skip to content

Conversation

@jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Nov 27, 2020

The logic could get confused when goto would be used in a mixed PHP/HTML file.

Includes adding a limited set of unit tests for the T_GOTO_LABEL tokenization.

The logic could get confused when `goto` would be used in a mixed PHP/HTML file.

Includes adding a limited set of unit tests for the `T_GOTO_LABEL` tokenization.
@jrfnl jrfnl force-pushed the feature/tokenizer-goto-bugfix branch from e7156d1 to 2351cc9 Compare November 28, 2020 00:00
@gsherwood gsherwood added this to the 3.6.0 milestone Dec 11, 2020
@gsherwood gsherwood changed the title Tokenizer/PHP: bugfix goto tokenization logic Incorrect tokenization of GOTO statements in mixed PHP/HTML files Jan 13, 2021
gsherwood added a commit that referenced this pull request Jan 13, 2021
@gsherwood gsherwood merged commit 6bcecb0 into squizlabs:master Jan 13, 2021
@gsherwood
Copy link
Member

Thanks for this fixed. I got bitten by the new T_NAME_FULLY_QUALIFIED when bringing it into the 4.0 branch :)

@jrfnl jrfnl deleted the feature/tokenizer-goto-bugfix branch January 14, 2021 10:25
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