posix_errno_basic.phpt 544 B

12345678910111213141516171819202122
  1. --TEST--
  2. Test function posix_errno() by calling it with its expected arguments
  3. --CREDITS--
  4. Morten Amundsen mor10am@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. echo "*** Test by calling method or function with its expected arguments ***\n";
  14. // test without any error
  15. var_dump(posix_errno());
  16. ?>
  17. --EXPECTF--
  18. *** Test by calling method or function with its expected arguments ***
  19. int(0)