1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 02:33:17 +02:00

fix skipif

This commit is contained in:
Hannes Magnusson
2009-06-17 10:17:52 +00:00
parent c572a7fd8b
commit 191307c968
@@ -2,7 +2,7 @@
time_nanosleep — Delay for a number of seconds and nanoseconds
--SKIPIF--
<?php
if (substr(strtoupper(PHP_OS, 'WIN'))) die("skip Test is not valid for Windows");
if (strpos(strtoupper(PHP_OS), 'WIN') !== false) die("skip Test is not valid for Windows");
if (!function_exists('time_nanosleep')) die("skip");
?>
--CREDITS--