Download src/php/php-src/tests/lang/014.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 172 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/tests/lang/014.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/tests/lang/014.phpt
-
curl -L -o 014.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/tests/lang/014.phpt
172 Bytes
| --TEST-- | |
| Testing eval function inside user-defined function | |
| --FILE-- | |
| function F ($a) { | |
| eval($a); | |
| } | |
| error_reporting(0); | |
| F("echo \"Hello\";"); | |
| --EXPECT-- | |
| Hello | |