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
PHP Fatal error: Uncaught PhpParser\Error: Syntax error, unexpected T_ARRAY, expecting T_STRING on line 7 in lib/PhpParser/ParserAbstract.php:318
for this code:
<?php require 'vendor/autoload.php'; enum Types { case Array; case Object; } $parser = (new \PhpParser\ParserFactory())->create(\PhpParser\ParserFactory::PREFER_PHP7); $parser->parse(file_get_contents(__FILE__));
The text was updated successfully, but these errors were encountered:
4bfc459
No branches or pull requests
for this code:
The text was updated successfully, but these errors were encountered: