12345678910111213141516171819202122232425262728 |
- --TEST--
- Test posix_getpwuid() function : basic functionality
- --EXTENSIONS--
- posix
- --FILE--
- <?php
- 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====
|