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.
1 parent a167aa2 commit 94d93f2Copy full SHA for 94d93f2
grammar/php7.y
@@ -891,7 +891,6 @@ callable_variable:
891
| dereferencable '[' optional_expr ']' { $$ = Expr\ArrayDimFetch[$1, $3]; }
892
| constant '[' optional_expr ']' { $$ = Expr\ArrayDimFetch[$1, $3]; }
893
| dereferencable '{' expr '}' { $$ = Expr\ArrayDimFetch[$1, $3]; }
894
- | dereferencable '{' error '}' { $$ = Expr\ArrayDimFetch[$1, new Expr\Error(stackAttributes(#3))]; }
895
| function_call { $$ = $1; }
896
| dereferencable T_OBJECT_OPERATOR property_name argument_list
897
{ $$ = Expr\MethodCall[$1, $3, $4]; }
0 commit comments