1
0
mirror of https://github.com/php/php-src.git synced 2026-04-18 13:31:27 +02:00
Files
archived-php-src/tests/lang/string/unicode_escape_legacy.phpt
Máté Kocsis 7aacc705d0 Add many missing closing PHP tags to tests
Closes GH-5958
2020-08-09 22:03:36 +02:00

15 lines
269 B
PHP

--TEST--
Tolerated Unicode escape sequences: Legacy compatibility
--FILE--
<?php
// These are ignored to avoid breaking JSON string literals
var_dump("\u");
var_dump("\u202e");
var_dump("\ufoobar");
?>
--EXPECT--
string(2) "\u"
string(6) "\u202e"
string(8) "\ufoobar"