PHP Classes

File: vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/simpleArrayAccess.test

Recommend this page to a friend!
  Packages of Abed Nego Ragil Putra   Laravel Blogging Platform   vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/simpleArrayAccess.test   Download  
File: vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/simpleArrayAccess.test
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Laravel Blogging Platform
Manage blog posts using Laravel and Bootstrap
Author: By
Last change:
Date: 8 months ago
Size: 1,099 bytes
 

Contents

Class file image Download
Simple array access ----- <?php $a['b']; $a['b']['c']; $a[] = $b; $a{'b'}; ${$a}['b']; ----- array( 0: Expr_ArrayDimFetch( var: Expr_Variable( name: a ) dim: Scalar_String( value: b ) ) 1: Expr_ArrayDimFetch( var: Expr_ArrayDimFetch( var: Expr_Variable( name: a ) dim: Scalar_String( value: b ) ) dim: Scalar_String( value: c ) ) 2: Expr_Assign( var: Expr_ArrayDimFetch( var: Expr_Variable( name: a ) dim: null ) expr: Expr_Variable( name: b ) ) 3: Expr_ArrayDimFetch( var: Expr_Variable( name: a ) dim: Scalar_String( value: b ) ) 4: Expr_ArrayDimFetch( var: Expr_Variable( name: Expr_Variable( name: a ) ) dim: Scalar_String( value: b ) ) )