菜谱项目

unicodeEscape.test 260B

123456789101112131415161718192021
  1. Unicode escape sequence
  2. -----
  3. <?php
  4. "\u{0}";
  5. "\u{114}";
  6. "\u{1F602}";
  7. -----
  8. !!php7
  9. array(
  10. 0: Scalar_String(
  11. value: @@{"\0"}@@
  12. )
  13. 1: Scalar_String(
  14. value: Ĕ
  15. )
  16. 2: Scalar_String(
  17. value: @@{"\xF0\x9F\x98\x82"}@@
  18. )
  19. )