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