Download src/php/php-src/tests/basic/bug78236.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 277 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/tests/basic/bug78236.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/tests/basic/bug78236.phpt
-
curl -L -o bug78236.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/tests/basic/bug78236.phpt
277 Bytes
| --TEST-- | |
| Bug #78236 (convert error on receiving variables when duplicate [) | |
| --POST-- | |
| id[name=1&id[[name=a&id[na me.=3 | |
| --FILE-- | |
| var_dump($_POST); | |
| --EXPECT-- | |
| array(3) { | |
| ["id_name"]=> | |
| string(1) "1" | |
| ["id__name"]=> | |
| string(1) "a" | |
| ["id_na_me_"]=> | |
| string(1) "3" | |
| } | |