Download src/php/php-src/ext/json/tests/bug68567.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 205 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/json/tests/bug68567.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/json/tests/bug68567.phpt
-
curl -L -o bug68567.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/json/tests/bug68567.phpt
205 Bytes
| --TEST-- | |
| Bug #68567 JSON_PARTIAL_OUTPUT_ON_ERROR can result in JSON with null key | |
| --FILE-- | |
| var_dump(json_encode(array("\x80" => 1), JSON_PARTIAL_OUTPUT_ON_ERROR)); | |
| --EXPECT-- | |
| string(6) "{"":1}" | |