1Unicode escape sequence
2-----
3<?php
4
5"\u{0}";
6"\u{114}$foo";
7`\u{1F602}$bar`;
8-----
9array(
10    0: Stmt_Expression(
11        expr: Scalar_String(
12            value: @@{"\0"}@@
13        )
14    )
15    1: Stmt_Expression(
16        expr: Scalar_InterpolatedString(
17            parts: array(
18                0: InterpolatedStringPart(
19                    value: Ĕ
20                )
21                1: Expr_Variable(
22                    name: foo
23                )
24            )
25        )
26    )
27    2: Stmt_Expression(
28        expr: Expr_ShellExec(
29            parts: array(
30                0: InterpolatedStringPart(
31                    value: @@{"\xF0\x9F\x98\x82"}@@
32                )
33                1: Expr_Variable(
34                    name: bar
35                )
36            )
37        )
38    )
39)
40-----
41<?php
42
43"\u{0}";
44"\u{114}$foo";
45`\u{1F602}$bar`;
46-----
47!!version=5.6
48array(
49    0: Stmt_Expression(
50        expr: Scalar_String(
51            value: \u{0}
52        )
53    )
54    1: Stmt_Expression(
55        expr: Scalar_InterpolatedString(
56            parts: array(
57                0: InterpolatedStringPart(
58                    value: \u{114}
59                )
60                1: Expr_Variable(
61                    name: foo
62                )
63            )
64        )
65    )
66    2: Stmt_Expression(
67        expr: Expr_ShellExec(
68            parts: array(
69                0: InterpolatedStringPart(
70                    value: \u{1F602}
71                )
72                1: Expr_Variable(
73                    name: bar
74                )
75            )
76        )
77    )
78)
79-----
80<?php
81"\u{FFFFFFFFFFFFFFFF}";
82-----
83Invalid UTF-8 codepoint escape sequence: Codepoint too large on line 2
84