mirror of
https://github.com/php/php-src.git
synced 2024-10-19 15:34:25 +00:00
15 lines
370 B
PHP
15 lines
370 B
PHP
--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
|