Annotation of embedaddon/php/ext/standard/tests/misc/time_nanosleep_error3.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: time_nanosleep — Delay for a number of seconds and nanoseconds
! 3: --SKIPIF--
! 4: <?php
! 5: if (strpos(strtoupper(PHP_OS), 'WIN') !== false) die("skip Test is not valid for Windows");
! 6: if (!function_exists('time_nanosleep')) die("skip");
! 7: ?>
! 8: --CREDITS--
! 9: Àlex Corretgé - alex@corretge.cat
! 10: --FILE--
! 11: <?php
! 12:
! 13: $nano = time_nanosleep(-2, 1000);
! 14:
! 15: ?>
! 16: --EXPECTF--
! 17: Warning: time_nanosleep(): nanoseconds was not in the range 0 to 999 999 999 or seconds was negative in %s.php on line %d
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>