2009-08-26 17:17:58 +00:00
|
|
|
--TEST--
|
|
|
|
time_sleep_until() function - error test for time_sleep_until()
|
2010-03-24 22:06:21 +00:00
|
|
|
--SKIPIF--
|
|
|
|
<?php if (!function_exists("time_sleep_until")) die('skip time_sleep_until() not available');?>
|
2009-08-26 17:17:58 +00:00
|
|
|
--CREDITS--
|
|
|
|
Fabio Fabbrucci fabbrucci@grupporetina.com
|
|
|
|
Danilo Sanchi sanchi@grupporetina.com
|
|
|
|
#PHPTestFest Cesena Italia on 2009-06-20
|
|
|
|
--FILE--
|
|
|
|
<?php
|
|
|
|
var_dump(time_sleep_until(time()-1));
|
|
|
|
?>
|
|
|
|
--EXPECTF--
|
|
|
|
Warning: time_sleep_until(): Sleep until to time is less than current time in %s on line 2
|
|
|
|
bool(false)
|