posix_geteuid_basic.phpt 366 B

12345678910111213141516
  1. --TEST--
  2. Test function posix_geteuid() 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. --SKIPIF--
  8. <?php
  9. if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
  10. ?>
  11. --FILE--
  12. <?php
  13. var_dump(posix_geteuid());
  14. ?>
  15. --EXPECTF--
  16. int(%d)