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
This syntax should be valid :
<?php echo "hello ${foo()} ";
Actual output :
Parse Error : syntax error, unexpected 'foo()} ' (T_ENCAPSED_AND_WHITESPACE) on line 2
The text was updated successfully, but these errors were encountered:
glayzzle/php-parser#105 - improve tests
718f159
FAIL : Expected T_STRING token, but found T_ENCAPSED_AND_WHITESPACE FAIL : Expected "foo" contents, but found "foo()}" FAIL : Token arrays have not the same length ! Error at : test/tokens/php/src/texts.php.token JS Tokens [ [ 'T_ENCAPSED_AND_WHITESPACE', 'foo()}', 14 ] ] PHP Tokens [ [ 'T_STRING', 'foo', 14 ] ]
Bug from lexer,
Sorry, something went wrong.
#105 - fix push state statement
1f61ddb
No branches or pull requests
This syntax should be valid :
Actual output :
The text was updated successfully, but these errors were encountered: