There was an error while loading. Please reload this page.
1 parent aabf4dc commit 07ae04dCopy full SHA for 07ae04d
ext/standard/tests/misc/time_nanosleep_error4.phpt
@@ -1,8 +1,8 @@
1
---TEST--
+--TEST--
2
time_nanosleep — Delay for a number of seconds and nanoseconds
3
--SKIPIF--
4
<?php
5
-if (strpos(strtoupper(PHP_OS), 'WIN') !== false) die("skip Test is not valid for Windows");
+if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') die("skip Test is not valid for Windows");
6
if (!function_exists('time_nanosleep')) die("skip");
7
?>
8
--CREDITS--
0 commit comments