posix_setgid_basic.phpt 472 B

1234567891011121314151617181920212223
  1. --TEST--
  2. Test function posix_setgid() by calling it with its expected arguments
  3. --EXTENSIONS--
  4. posix
  5. --CREDITS--
  6. Marco Fabbri mrfabbri@gmail.com
  7. Francesco Fullone ff@ideato.it
  8. #PHPTestFest Cesena Italia on 2009-06-20
  9. --FILE--
  10. <?php
  11. echo "*** Test by calling method or function with its expected arguments ***\n";
  12. $gid = posix_getgid();
  13. var_dump(posix_setgid( $gid ) );
  14. ?>
  15. --EXPECT--
  16. *** Test by calling method or function with its expected arguments ***
  17. bool(true)