]> granicus.if.org Git - php/commitdiff
fix skipif
authorHannes Magnusson <bjori@php.net>
Wed, 17 Jun 2009 10:14:25 +0000 (10:14 +0000)
committerHannes Magnusson <bjori@php.net>
Wed, 17 Jun 2009 10:14:25 +0000 (10:14 +0000)
ext/standard/tests/misc/time_nanosleep_error3.phpt

index fd2b5c51e2af9a50f659e2be4290d9b06214f44d..b5c1063eac8fbd8713c4637fff6937bb302552b1 100644 (file)
@@ -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 (substr(strtoupper(PHP_OS), 'WIN')) die("skip Test is not valid for Windows");
 if (!function_exists('time_nanosleep')) die("skip");
 ?>
 --CREDITS--