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