I got error when genertate php symbols using scripts/symbols/generate_php_symbols.php
EXCEPTION: (XHPASTSyntaxErrorException) XHPAST Parse Error: syntax error, unexpected '[' on line 48 at [path/to/phabricator/phabricator/libphutil/src/parser/xhpast/api/XHPASTTree.php:62]
The code is like this:
$array = ['foo','bar'];