Return to time_nanosleep_error1.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / misc |
1.1 misho 1: --TEST-- 2: time_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('A', 100000); 11: 12: ?> 13: --EXPECTF-- 14: Warning: time_nanosleep() expects parameter 1 to be long, %unicode_string_optional% given in %s.php on line %d