1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 01:18:19 +02:00
Files
archived-php-src/ext/standard/tests/misc/time_sleep_until_error1.phpt
T
2020-09-15 14:26:16 +02:00

18 lines
518 B
PHP

--TEST--
time_sleep_until() function - error test for time_sleep_until()
--SKIPIF--
<?php if (!function_exists("time_sleep_until")) die('skip time_sleep_until() not available');?>
--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(): Argument #1 ($timestamp) must be greater than or equal to the current time in %s on line %d
bool(false)