Download src/php/php-src/ext/posix/tests/posix_getpwuid_basic.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 403 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/posix/tests/posix_getpwuid_basic.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/posix/tests/posix_getpwuid_basic.phpt
-
curl -L -o posix_getpwuid_basic.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/posix/tests/posix_getpwuid_basic.phpt
403 Bytes
| --TEST-- | |
| Test posix_getpwuid() function : basic functionality | |
| --EXTENSIONS-- | |
| posix | |
| --FILE-- | |
| echo "Basic test of POSIX getpwuid\n"; | |
| $pwuid = posix_getpwuid(posix_getuid()); | |
| print_r($pwuid); | |
| ===DONE==== | |
| --EXPECTF-- | |
| Basic test of POSIX getpwuid | |
| Array | |
| ( | |
| [name] => %s | |
| [passwd] => %S | |
| [uid] => %d | |
| [gid] => %d | |
| [gecos] => %S | |
| [dir] => %s | |
| [shell] => %s | |
| ) | |
| ===DONE==== | |