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