1--TEST--
2time_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--
6Fabio Fabbrucci fabbrucci@grupporetina.com
7Danilo Sanchi sanchi@grupporetina.com
8#PHPTestFest Cesena Italia on 2009-06-20
9--FILE--
10<?php
11
12var_dump(time_sleep_until(time() -1));
13
14?>
15--EXPECTF--
16Warning: time_sleep_until(): Argument #1 ($timestamp) must be greater than or equal to the current time in %s on line %d
17bool(false)
18