Download src/php/php-src/tests/basic/019.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 209 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/tests/basic/019.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/tests/basic/019.phpt
-
curl -L -o 019.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/tests/basic/019.phpt
209 Bytes
| --TEST-- | |
| POST Method test and arrays - 7 | |
| --POST-- | |
| a[]=1&a[]]=3&a[[]=4 | |
| --FILE-- | |
| var_dump($_POST['a']); | |
| --EXPECT-- | |
| array(3) { | |
| [0]=> | |
| string(1) "1" | |
| [1]=> | |
| string(1) "3" | |
| ["["]=> | |
| string(1) "4" | |
| } | |