1Encapsed string negative var offsets
2-----
3<?php
4"$a[-0]";
5"$a[-1]";
6"$a[-0x0]";
7"$a[-00]";
8"$a[@@{ -PHP_INT_MAX - 1 }@@]";
9-----
10array(
11    0: Stmt_Expression(
12        expr: Scalar_InterpolatedString(
13            parts: array(
14                0: Expr_ArrayDimFetch(
15                    var: Expr_Variable(
16                        name: a
17                    )
18                    dim: Scalar_String(
19                        value: -0
20                    )
21                )
22            )
23        )
24    )
25    1: Stmt_Expression(
26        expr: Scalar_InterpolatedString(
27            parts: array(
28                0: Expr_ArrayDimFetch(
29                    var: Expr_Variable(
30                        name: a
31                    )
32                    dim: Scalar_Int(
33                        value: -1
34                    )
35                )
36            )
37        )
38    )
39    2: Stmt_Expression(
40        expr: Scalar_InterpolatedString(
41            parts: array(
42                0: Expr_ArrayDimFetch(
43                    var: Expr_Variable(
44                        name: a
45                    )
46                    dim: Scalar_String(
47                        value: -0x0
48                    )
49                )
50            )
51        )
52    )
53    3: Stmt_Expression(
54        expr: Scalar_InterpolatedString(
55            parts: array(
56                0: Expr_ArrayDimFetch(
57                    var: Expr_Variable(
58                        name: a
59                    )
60                    dim: Scalar_String(
61                        value: -00
62                    )
63                )
64            )
65        )
66    )
67    4: Stmt_Expression(
68        expr: Scalar_InterpolatedString(
69            parts: array(
70                0: Expr_ArrayDimFetch(
71                    var: Expr_Variable(
72                        name: a
73                    )
74                    dim: Scalar_Int(
75                        value: @@{ -PHP_INT_MAX - 1 }@@
76                    )
77                )
78            )
79        )
80    )
81)
82