Skip to content

Commit 187336a

Browse files
committed
MFH: fix broken test
1 parent 795a087 commit 187336a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/tests/misc/time_nanosleep_error4.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
time_nanosleep — Delay for a number of seconds and nanoseconds
33
--SKIPIF--
44
<?php
5-
if (substr(strtoupper(PHP_OS, 'WIN'))) die("skip Test is not valid for Windows");
5+
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') die("skip Test is not valid for Windows");
66
if (!function_exists('time_nanosleep')) die("skip");
77
?>
88
--CREDITS--

0 commit comments

Comments
 (0)