Download src/php/php-src/ext/mbstring/tests/bug63447_003.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 542 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/mbstring/tests/bug63447_003.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/mbstring/tests/bug63447_003.phpt
-
curl -L -o bug63447_003.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/mbstring/tests/bug63447_003.phpt
542 Bytes
| --TEST-- | |
| Bug #63447 (max_input_vars doesn't filter variables when mbstring.encoding_translation = On) | |
| --EXTENSIONS-- | |
| mbstring | |
| --INI-- | |
| max_input_nesting_level=5 | |
| max_input_vars=100 | |
| mbstring.encoding_translation=1 | |
| --POST-- | |
| a=1&b[][][]=2&c[][][][][][]=7 | |
| --FILE-- | |
| <?php | |
| print_r($_POST); | |
| ?> | |
| --EXPECT-- | |
| Array | |
| ( | |
| [a] => 1 | |
| [b] => Array | |
| ( | |
| [0] => Array | |
| ( | |
| [0] => Array | |
| ( | |
| [0] => 2 | |
| ) | |
| ) | |
| ) | |
| ) | |