posix_getpwuid_basic.phpt 403 B

12345678910111213141516171819202122232425262728
  1. --TEST--
  2. Test posix_getpwuid() function : basic functionality
  3. --EXTENSIONS--
  4. posix
  5. --FILE--
  6. <?php
  7. echo "Basic test of POSIX getpwuid\n";
  8. $pwuid = posix_getpwuid(posix_getuid());
  9. print_r($pwuid);
  10. ?>
  11. ===DONE====
  12. --EXPECTF--
  13. Basic test of POSIX getpwuid
  14. Array
  15. (
  16. [name] => %s
  17. [passwd] => %S
  18. [uid] => %d
  19. [gid] => %d
  20. [gecos] => %S
  21. [dir] => %s
  22. [shell] => %s
  23. )
  24. ===DONE====