Download src/php/php-src/ext/pcntl/tests/pcntl_exec_3.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 274 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/pcntl/tests/pcntl_exec_3.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/pcntl/tests/pcntl_exec_3.phpt
-
curl -L -o pcntl_exec_3.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/pcntl/tests/pcntl_exec_3.phpt
274 Bytes
| --TEST-- | |
| pcntl_exec() 3 | |
| --EXTENSIONS-- | |
| pcntl | |
| --FILE-- | |
| $file = tempnam(sys_get_temp_dir(),"php"); | |
| var_dump(pcntl_exec($file, array("foo","bar"), array("foo" => "bar"))); | |
| unlink($file); | |
| --EXPECTF-- | |
| Warning: pcntl_exec(): Error has occurred: (errno %d) %s | |
| bool(false) | |