File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -405,19 +405,6 @@ module.exports = {
405
405
}
406
406
} else if ( this . is ( 'SCALAR' ) ) {
407
407
expr = this . read_scalar ( ) ;
408
- // handle dereferencable
409
- while ( this . token !== this . EOF ) {
410
- if ( this . token === this . tok . T_OBJECT_OPERATOR ) {
411
- expr = this . recursive_variable_chain_scan ( expr , false ) ;
412
- } else if ( this . token === this . tok . T_CURLY_OPEN || this . token === '[' ) {
413
- expr = this . read_dereferencable ( expr ) ;
414
- } else if ( this . token === '(' ) {
415
- // https://github.com/php/php-src/blob/master/Zend/zend_language_parser.y#L1118
416
- expr = this . node ( 'call' ) ( expr , this . read_function_argument_list ( ) ) ;
417
- } else {
418
- return expr ;
419
- }
420
- }
421
408
} else {
422
409
this . error ( 'EXPR' ) ;
423
410
this . next ( ) ;
You can’t perform that action at this time.
0 commit comments