Download src/php/php-src/ext/posix/tests/posix_setgid_basic.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 472 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/posix/tests/posix_setgid_basic.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/posix/tests/posix_setgid_basic.phpt
-
curl -L -o posix_setgid_basic.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/posix/tests/posix_setgid_basic.phpt
472 Bytes
| --TEST-- | |
| Test function posix_setgid() by calling it with its expected arguments | |
| --EXTENSIONS-- | |
| posix | |
| --CREDITS-- | |
| Marco Fabbri mrfabbri@gmail.com | |
| Francesco Fullone ff@ideato.it | |
| #PHPTestFest Cesena Italia on 2009-06-20 | |
| --FILE-- | |
| <?php | |
| echo "*** Test by calling method or function with its expected arguments ***\n"; | |
| $gid = posix_getgid(); | |
| var_dump(posix_setgid( $gid ) ); | |
| ?> | |
| --EXPECT-- | |
| *** Test by calling method or function with its expected arguments *** | |
| bool(true) | |