Searched refs:JSON_UNESCAPED_UNICODE (Results 1 – 4 of 4) sorted by relevance
/php-src/ext/json/tests/ |
H A D | json_encode_u2028_u2029.phpt | 6 var_dump(json_encode(array("a\xC3\xA1b"), JSON_UNESCAPED_UNICODE)); 8 var_dump(json_encode("a\xE2\x80\xA7b", JSON_UNESCAPED_UNICODE)); 10 var_dump(json_encode("a\xE2\x80\xA8b", JSON_UNESCAPED_UNICODE)); 12 var_dump(json_encode("a\xE2\x80\xA8b", JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_LINE_TERMINATORS)); 14 var_dump(json_encode("a\xE2\x80\xA9b", JSON_UNESCAPED_UNICODE)); 16 var_dump(json_encode("a\xE2\x80\xA9b", JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_LINE_TERMINATORS)); 18 var_dump(json_encode("a\xE2\x80\xAAb", JSON_UNESCAPED_UNICODE));
|
H A D | bug53946.phpt | 2 bug #53946 (json_encode() with JSON_UNESCAPED_UNICODE) 6 …/ russian мама мыла раму specialchars \x02 \x08 \n U+1D11E ><", JSON_UNESCAPED_UNICODE)); 8 var_dump(json_encode("ab\xE0", JSON_UNESCAPED_UNICODE));
|
H A D | json_encode_invalid_utf8.phpt | 9 var_dump(json_encode($str, JSON_UNESCAPED_UNICODE)); 10 var_dump(bin2hex(json_encode($str, JSON_UNESCAPED_UNICODE | JSON_INVALID_UTF8_SUBSTITUTE)));
|
/php-src/ext/json/ |
H A D | json.stub.php | 49 const JSON_UNESCAPED_UNICODE = UNKNOWN; define
|
Completed in 7 milliseconds