There was an error while loading. Please reload this page.
1 parent 795a087 commit 187336aCopy full SHA for 187336a
ext/standard/tests/misc/time_nanosleep_error4.phpt
@@ -2,7 +2,7 @@
2
time_nanosleep — Delay for a number of seconds and nanoseconds
3
--SKIPIF--
4
<?php
5
-if (substr(strtoupper(PHP_OS, 'WIN'))) 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