Skip to content

Replace "unexpected character" warning with ParseError #4767

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

Closed
wants to merge 1 commit into from

Conversation

nikic
Copy link
Member

@nikic nikic commented Oct 2, 2019

Return T_BAD_CHARACTER and treat this as a normal ParseError.

cc @TysonAndre

@TysonAndre
Copy link
Contributor

TysonAndre commented Oct 2, 2019

I don't see any issues with this. Obviously, the test cases in 4758 will have to be changed after this is merged.

@php-pulls php-pulls closed this in d44cf9b Oct 4, 2019
@carusogabriel carusogabriel added this to the PHP 8.0 milestone May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants