posix_seteuid_basic.phpt 329 B

1234567891011121314151617
  1. --TEST--
  2. Test function posix_seteuid() by calling it with its expected arguments
  3. --CREDITS--
  4. Marco Fabbri mrfabbri@gmail.com
  5. Francesco Fullone ff@ideato.it
  6. #PHPTestFest Cesena Italia on 2009-06-20
  7. --EXTENSIONS--
  8. posix
  9. --FILE--
  10. <?php
  11. $myuid = posix_geteuid();
  12. $uid = var_dump(posix_seteuid( $myuid ) );
  13. ?>
  14. --EXPECT--
  15. bool(true)