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:
@@ -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--
|
||||
|
||||
Reference in New Issue
Block a user