Download src/php/php-src/ext/json/tests/bug45791.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 185 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/json/tests/bug45791.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/json/tests/bug45791.phpt
-
curl -L -o bug45791.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/json/tests/bug45791.phpt
185 Bytes
| --TEST-- | |
| Bug #45791 (json_decode() does not handle number 0e0) | |
| --FILE-- | |
| var_dump(json_decode('{"zero": 0e0}')); | |
| --EXPECT-- | |
| object(stdClass)#1 (1) { | |
| ["zero"]=> | |
| float(0) | |
| } | |