blob: 25bc0b68667a937a4c87bfc281f0566f845b646a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--TEST--
Test usleep() function : error conditions
--FILE--
<?php
usleep(-10);
?>
--EXPECTF--
Fatal error: Uncaught ValueError: Number of microseconds must be greater than or equal to 0 in %s
Stack trace:
#0 %s(%d): usleep(-10)
#1 {main}
thrown in %s on line %d
|