summaryrefslogtreecommitdiff
path: root/ext/zlib/tests/gzencode_variation2-win32.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zlib/tests/gzencode_variation2-win32.phpt')
-rw-r--r--ext/zlib/tests/gzencode_variation2-win32.phpt14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/zlib/tests/gzencode_variation2-win32.phpt b/ext/zlib/tests/gzencode_variation2-win32.phpt
index 7adda31049..bf3b041d17 100644
--- a/ext/zlib/tests/gzencode_variation2-win32.phpt
+++ b/ext/zlib/tests/gzencode_variation2-win32.phpt
@@ -1,22 +1,22 @@
--TEST--
Test gzencode() function : variation - verify header contents with all encoding modes
--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:
*/
echo "*** Testing gzencode() : variation ***\n";
@@ -25,7 +25,7 @@ $data = "A small string to encode\n";
echo "\n-- Testing with each encoding_mode --\n";
var_dump(bin2hex(gzencode($data, -1)));
-var_dump(bin2hex(gzencode($data, -1, FORCE_GZIP)));
+var_dump(bin2hex(gzencode($data, -1, FORCE_GZIP)));
var_dump(bin2hex(gzencode($data, -1, FORCE_DEFLATE)));
?>