1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 07:58:20 +02:00
Files
archived-php-src/tests/lang/string/unicode_escape_legacy.phpt
T
Gabriel Caruso ded3d984c6 Use EXPECT instead of EXPECTF when possible
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00

15 lines
267 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"