Download src/php/php-src/tests/func/ini_alter.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 319 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/tests/func/ini_alter.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/tests/func/ini_alter.phpt
-
curl -L -o ini_alter.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/tests/func/ini_alter.phpt
319 Bytes
| --TEST-- | |
| ini_alter() check | |
| --CREDITS-- | |
| Sebastian Schürmann | |
| sebs@php.net | |
| Testfest 2009 Munich | |
| --FILE-- | |
| ini_alter('error_reporting', 1); | |
| $var = ini_get('error_reporting'); | |
| var_dump($var); | |
| ini_alter('error_reporting', 0); | |
| $var = ini_get('error_reporting'); | |
| var_dump($var); | |
| --EXPECT-- | |
| string(1) "1" | |
| string(1) "0" | |