Annotation of embedaddon/php/ext/standard/tests/time/bug60222.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Bug #60222 (time_nanosleep() does validate input params)
                      3: --FILE--
                      4: <?php
                      5:        var_dump(time_nanosleep(-1, 0));
                      6:        var_dump(time_nanosleep(0, -1));
                      7: ?>
                      8: ===DONE===
                      9: --EXPECTF--
                     10: Warning: time_nanosleep(): The seconds value must be greater than 0 in %s on line %d
                     11: bool(false)
                     12: 
                     13: Warning: time_nanosleep(): The nanoseconds value must be greater than 0 in %s on line %d
                     14: bool(false)
                     15: ===DONE===

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