Download src/php/php-src/tests/func/007.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 382 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/tests/func/007.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/tests/func/007.phpt
-
curl -L -o 007.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/tests/func/007.phpt
382 Bytes
| --TEST-- | |
| INI functions test | |
| --FILE-- | |
| $ini1 = ini_get('include_path'); | |
| ini_set('include_path','ini_set_works'); | |
| echo ini_get('include_path')."\n"; | |
| ini_restore('include_path'); | |
| $ini2 = ini_get('include_path'); | |
| if ($ini1 !== $ini2) { | |
| echo "ini_restore() does not work.\n"; | |
| } | |
| else { | |
| echo "ini_restore_works\n"; | |
| } | |
| --EXPECT-- | |
| ini_set_works | |
| ini_restore_works | |