Download src/php/php-src/tests/func/005.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 237 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/tests/func/005.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/tests/func/005.phpt
-
curl -L -o 005.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/tests/func/005.phpt
237 Bytes
| --TEST-- | |
| Testing register_shutdown_function() | |
| --FILE-- | |
| function foo() | |
| { | |
| print "foo"; | |
| } | |
| register_shutdown_function("foo"); | |
| print "foo() will be called on shutdown...\n"; | |
| --EXPECT-- | |
| foo() will be called on shutdown... | |
| foo | |