8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a624992 commit ee66edbCopy full SHA for ee66edb
ext/json/tests/bug53946.phpt
@@ -9,12 +9,8 @@ var_dump(json_encode("latin 1234 -/ russian мама мыла раму speci
9
var_dump(json_encode("ab\xE0"));
10
var_dump(json_encode("ab\xE0", JSON_UNESCAPED_UNICODE));
11
?>
12
---EXPECTF--
+--EXPECT--
13
string(156) ""latin 1234 -\/ russian \u043c\u0430\u043c\u0430 \u043c\u044b\u043b\u0430 \u0440\u0430\u043c\u0443 specialchars \u0002 \b \n U+1D11E >\ud834\udd1e<""
14
string(100) ""latin 1234 -\/ russian мама мыла раму specialchars \u0002 \b \n U+1D11E >𝄞<""
15
-
16
-Warning: json_encode(): Invalid UTF-8 sequence in argument in %s on line %d
17
-bool(false)
18
19
20
+string(4) "null"
0 commit comments