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