Download src/php/php-src/ext/posix/tests/posix_seteuid_basic.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 329 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/posix/tests/posix_seteuid_basic.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/posix/tests/posix_seteuid_basic.phpt
-
curl -L -o posix_seteuid_basic.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/posix/tests/posix_seteuid_basic.phpt
329 Bytes
| --TEST-- | |
| Test function posix_seteuid() by calling it with its expected arguments | |
| --CREDITS-- | |
| Marco Fabbri mrfabbri@gmail.com | |
| Francesco Fullone ff@ideato.it | |
| #PHPTestFest Cesena Italia on 2009-06-20 | |
| --EXTENSIONS-- | |
| posix | |
| --FILE-- | |
| $myuid = posix_geteuid(); | |
| $uid = var_dump(posix_seteuid( $myuid ) ); | |
| --EXPECT-- | |
| bool(true) | |