Annotation of embedaddon/php/ext/standard/tests/misc/time_sleep_until_error1.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: time_sleep_until() function - error test for time_sleep_until()
! 3: --SKIPIF--
! 4: <?php if (!function_exists("time_sleep_until")) die('skip time_sleep_until() not available');?>
! 5: --CREDITS--
! 6: Fabio Fabbrucci fabbrucci@grupporetina.com
! 7: Danilo Sanchi sanchi@grupporetina.com
! 8: #PHPTestFest Cesena Italia on 2009-06-20
! 9: --FILE--
! 10: <?php
! 11: var_dump(time_sleep_until(time()-1));
! 12: ?>
! 13: --EXPECTF--
! 14: Warning: time_sleep_until(): Sleep until to time is less than current time in %s on line 2
! 15: bool(false)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>