1Array with empty elements
2-----
3<?php
4
5[1, , 2];
6array(1, , 2);
7-----
8!!positions
9Cannot use empty array elements in arrays from 3:5 to 3:5
10Cannot use empty array elements in arrays from 4:10 to 4:10
11array(
12    0: Stmt_Expression[3:1 - 3:9](
13        expr: Expr_Array[3:1 - 3:8](
14            items: array(
15                0: ArrayItem[3:2 - 3:2](
16                    key: null
17                    value: Scalar_Int[3:2 - 3:2](
18                        value: 1
19                    )
20                    byRef: false
21                    unpack: false
22                )
23                1: ArrayItem[3:5 - 3:5](
24                    key: null
25                    value: Expr_Error[3:5 - 3:5](
26                    )
27                    byRef: false
28                    unpack: false
29                )
30                2: ArrayItem[3:7 - 3:7](
31                    key: null
32                    value: Scalar_Int[3:7 - 3:7](
33                        value: 2
34                    )
35                    byRef: false
36                    unpack: false
37                )
38            )
39        )
40    )
41    1: Stmt_Expression[4:1 - 4:14](
42        expr: Expr_Array[4:1 - 4:13](
43            items: array(
44                0: ArrayItem[4:7 - 4:7](
45                    key: null
46                    value: Scalar_Int[4:7 - 4:7](
47                        value: 1
48                    )
49                    byRef: false
50                    unpack: false
51                )
52                1: ArrayItem[4:10 - 4:10](
53                    key: null
54                    value: Expr_Error[4:10 - 4:10](
55                    )
56                    byRef: false
57                    unpack: false
58                )
59                2: ArrayItem[4:12 - 4:12](
60                    key: null
61                    value: Scalar_Int[4:12 - 4:12](
62                        value: 2
63                    )
64                    byRef: false
65                    unpack: false
66                )
67            )
68        )
69    )
70)
71