diff options
Diffstat (limited to 'ext/zlib/tests/gzencode_variation1-win32.phpt')
-rw-r--r-- | ext/zlib/tests/gzencode_variation1-win32.phpt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/zlib/tests/gzencode_variation1-win32.phpt b/ext/zlib/tests/gzencode_variation1-win32.phpt index 5ff577838b..4feb7d653c 100644 --- a/ext/zlib/tests/gzencode_variation1-win32.phpt +++ b/ext/zlib/tests/gzencode_variation1-win32.phpt @@ -1,28 +1,28 @@ --TEST-- Test gzencode() function : variation --SKIPIF-- -<?php +<?php if( substr(PHP_OS, 0, 3) != "WIN" ) { die("skip only for Windows"); } if (!extension_loaded("zlib")) { - print "skip - ZLIB extension not loaded"; -} -?> + print "skip - ZLIB extension not loaded"; +} +?> --FILE-- <?php /* Prototype : string gzencode ( string $data [, int $level [, int $encoding_mode ]] ) - * Description: Gzip-compress a string + * Description: Gzip-compress a string * Source code: ext/zlib/zlib.c - * Alias to functions: + * Alias to functions: */ if(!function_exists("gzdecode")) { - function gzdecode($data) - { - return gzinflate(substr($data,10,-8)); + function gzdecode($data) + { + return gzinflate(substr($data,10,-8)); } } |