Download src/php/php-src/ext/posix/tests/posix_errno_basic.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 460 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/posix/tests/posix_errno_basic.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/posix/tests/posix_errno_basic.phpt
-
curl -L -o posix_errno_basic.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/posix/tests/posix_errno_basic.phpt
460 Bytes
| --TEST-- | |
| Test function posix_errno() by calling it with its expected arguments | |
| --CREDITS-- | |
| Morten Amundsen mor10am@gmail.com | |
| Francesco Fullone ff@ideato.it | |
| --EXTENSIONS-- | |
| posix | |
| --FILE-- | |
| <?php | |
| echo "*** Test by calling method or function with its expected arguments ***\n"; | |
| // test without any error | |
| var_dump(posix_errno()); | |
| ?> | |
| --EXPECT-- | |
| *** Test by calling method or function with its expected arguments *** | |
| int(0) | |