view vendor/nikic/php-parser/test/code/parser/scalar/unicodeEscape.test @ 5:c69a71b4f40f

Add slideshow module
author Chris Cannam
date Thu, 07 Dec 2017 14:46:23 +0000
parents 4c8ae668cc8c
children 5fb285c0d0e3
line wrap: on
line source
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"}@@
    )
)