We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Input:
echo "hello"; ?> world
Running the code above in PHP's eval would result in:
php > eval('echo "hello"; ?> world'); hello world
But the parser is failing with syntax error.
I also noticed that the following code will not result in error, and generates an AST with no children, while it should contain '?>?>' as inline:
parser.parseEval(`?>?>?>`)
The text was updated successfully, but these errors were encountered:
#127 - fix lexer initial state on eval
c9c6c81
Hi @thiagorb,
Thanks for the report, it's fixed now and will be released on v3.0.0 soon
Sorry, something went wrong.
ichiriac
No branches or pull requests
Input:
Running the code above in PHP's eval would result in:
But the parser is failing with syntax error.
I also noticed that the following code will not result in error, and generates an AST with no children, while it should contain '?>?>' as inline:
The text was updated successfully, but these errors were encountered: