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
Sample Code:
<?php $a & $b;
return an ASTError Node.
ASTError
The text was updated successfully, but these errors were encountered:
My test code:
import org.eclipse.php.core.PHPVersion; import org.eclipse.php.core.ast.nodes.*; public class Test { public static void main(String[] args) { String str = "<?php\n $a & $b;?> "; try{ ASTParser parser = ASTParser.newParser(PHPVersion.PHP8_3, false, false); parser.setSource(str.toCharArray()); AST ast = parser.createAST(null).getAST(); System.out.println(ast); } catch (Throwable e) { } } }
Output: Syntax error at character 10 of input
PHP8_0 is OK.
Sorry, something went wrong.
cdabb00
zulus
No branches or pull requests
Sample Code:
return an
ASTError
Node.The text was updated successfully, but these errors were encountered: