Skip to content

Commit

Permalink
Revert "Update test to fix breakage caused by the previous commit."
Browse files Browse the repository at this point in the history
This reverts commit 05c8d47.
Connected to revert 7bbd552.
  • Loading branch information
smalyshev committed May 16, 2012
1 parent a624992 commit ee66edb
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions ext/json/tests/bug53946.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@ var_dump(json_encode("latin 1234 -/ russian мама мыла раму speci
var_dump(json_encode("ab\xE0"));
var_dump(json_encode("ab\xE0", JSON_UNESCAPED_UNICODE));
?>
--EXPECTF--
--EXPECT--
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<""
string(100) ""latin 1234 -\/ russian мама мыла раму specialchars \u0002 \b \n U+1D11E >𝄞<""

Warning: json_encode(): Invalid UTF-8 sequence in argument in %s on line %d
bool(false)

Warning: json_encode(): Invalid UTF-8 sequence in argument in %s on line %d
bool(false)
string(4) "null"
string(4) "null"

0 comments on commit ee66edb

Please sign in to comment.