1--TEST--
2time_nanosleep — Delay for a number of seconds and nanoseconds
3--SKIPIF--
4<?php
5if (!function_exists('time_nanosleep')) die("skip");
6?>
7--CREDITS--
8Àlex Corretgé - alex@corretge.cat
9--FILE--
10<?php
11
12$nano = time_nanosleep(-2, 1000);
13
14?>
15--EXPECTF--
16Warning: time_nanosleep(): The seconds value must be greater than 0 in %stime_nanosleep_error3.php on line %d
17