drupal-civicrm/vendor/nikic/php-parser/test/code/parser/scalar/unicodeEscape.test

21 lines
260 B
Plaintext
Raw Permalink Normal View History

2018-01-14 15:10:16 +02:00
Unicode escape sequence
-----
<?php
"\u{0}";
"\u{114}";
"\u{1F602}";
-----
!!php7
array(
0: Scalar_String(
value: @@{"\0"}@@
)
1: Scalar_String(
value: Ĕ
)
2: Scalar_String(
value: @@{"\xF0\x9F\x98\x82"}@@
)
)