Annotation of embedaddon/php/ext/standard/tests/misc/time_sleep_until_error2.phpt, revision 1.1.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: Filippo De Santis fd@ideato.it
                      7: #PHPTestFest Cesena Italia on 2009-06-20
                      8: --FILE--
                      9: <?php
                     10:   var_dump(time_sleep_until('goofy'));
                     11: ?>
                     12: --EXPECTF--
                     13: Warning: time_sleep_until() expects parameter 1 to be double, string given in %s on line 2
                     14: NULL

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>