1--TEST--
2time_nanosleep — Delay for a number of seconds and nanoseconds
3--SKIPIF--
4<?php if (!function_exists('time_nanosleep')) die("skip"); ?>
5--CREDITS--
6Àlex Corretgé - alex@corretge.cat
7--FILE--
8<?php
9
10$nano = time_nanosleep(2, 'B');
11
12?>
13--EXPECTF--
14Warning: time_nanosleep() expects parameter 2 to be int, string given in %s.php on line %d
15