1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-11 17:09:41 +01:00
PHP-Parser/test/code/parser/scalar/unicodeEscape.test
2017-01-19 22:31:29 +01:00

26 lines
394 B
Plaintext

Unicode escape sequence
-----
<?php
"\u{0}";
"\u{114}";
"\u{1F602}";
-----
!!php7
array(
0: Stmt_Expression(
expr: Scalar_String(
value: @@{"\0"}@@
)
)
1: Stmt_Expression(
expr: Scalar_String(
value: Ĕ
)
)
2: Stmt_Expression(
expr: Scalar_String(
value: @@{"\xF0\x9F\x98\x82"}@@
)
)
)