1Simple array access
2-----
3<?php
4
5$a['b'];
6$a['b']['c'];
7$a[] = $b;
8${$a}['b'];
9-----
10array(
11    0: Stmt_Expression(
12        expr: Expr_ArrayDimFetch(
13            var: Expr_Variable(
14                name: a
15            )
16            dim: Scalar_String(
17                value: b
18            )
19        )
20    )
21    1: Stmt_Expression(
22        expr: Expr_ArrayDimFetch(
23            var: Expr_ArrayDimFetch(
24                var: Expr_Variable(
25                    name: a
26                )
27                dim: Scalar_String(
28                    value: b
29                )
30            )
31            dim: Scalar_String(
32                value: c
33            )
34        )
35    )
36    2: Stmt_Expression(
37        expr: Expr_Assign(
38            var: Expr_ArrayDimFetch(
39                var: Expr_Variable(
40                    name: a
41                )
42                dim: null
43            )
44            expr: Expr_Variable(
45                name: b
46            )
47        )
48    )
49    3: Stmt_Expression(
50        expr: Expr_ArrayDimFetch(
51            var: Expr_Variable(
52                name: Expr_Variable(
53                    name: a
54                )
55            )
56            dim: Scalar_String(
57                value: b
58            )
59        )
60    )
61)
62