mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
MFH: Fix test on Windows
This commit is contained in:
parent
96f2a45df3
commit
dc69d9228a
@ -1,8 +1,8 @@
|
||||
--TEST--
|
||||
--TEST--
|
||||
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--
|
||||
|
Loading…
Reference in New Issue
Block a user