We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 055cda0 + 4530d5d commit 92dc2dfCopy full SHA for 92dc2df
hphp/util/parser/hphp.y
@@ -1931,6 +1931,7 @@ static_scalar:
1931
| '-' static_scalar { UEXP($$,$2,'-',1);}
1932
| T_ARRAY '('
1933
static_array_pair_list ')' { _p->onArray($$,$3,T_ARRAY); }
1934
+ | '[' static_array_pair_list ']' { _p->onArray($$,$2,T_ARRAY); }
1935
| T_SHAPE '('
1936
static_shape_pair_list ')' { only_in_hh_syntax(_p);
1937
_p->onArray($$,$3,T_ARRAY); }
0 commit comments