mirror of
https://github.com/php/php-src.git
synced 2024-10-16 05:52:36 +00:00
14 lines
380 B
Plaintext
14 lines
380 B
Plaintext
|
--TEST--
|
||
|
time_sleep_until() function - error test for time_sleep_until()
|
||
|
--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)
|