summaryrefslogtreecommitdiff
path: root/ext/zlib/tests/gzdeflate_error1.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zlib/tests/gzdeflate_error1.phpt')
-rw-r--r--ext/zlib/tests/gzdeflate_error1.phpt18
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/zlib/tests/gzdeflate_error1.phpt b/ext/zlib/tests/gzdeflate_error1.phpt
index 39c4714033..93f8c03b4c 100644
--- a/ext/zlib/tests/gzdeflate_error1.phpt
+++ b/ext/zlib/tests/gzdeflate_error1.phpt
@@ -1,17 +1,17 @@
--TEST--
-Test gzdeflate() function : error conditions
+Test gzdeflate() function : error conditions
--SKIPIF--
-<?php
+<?php
if (!extension_loaded("zlib")) {
- print "skip - ZLIB extension not loaded";
-}
+ print "skip - ZLIB extension not loaded";
+}
?>
--FILE--
<?php
/* Prototype : string gzdeflate(string data [, int level, [int encoding]])
- * Description: Gzip-compress a string
+ * Description: Gzip-compress a string
* Source code: ext/zlib/zlib.c
- * Alias to functions:
+ * Alias to functions:
*/
/*
@@ -33,16 +33,16 @@ $extra_arg = 10;
var_dump( gzdeflate($data, $level, $encoding, $extra_arg) );
echo "\n-- Testing with incorrect compression level --\n";
-$bad_level = 99;
+$bad_level = 99;
var_dump(gzdeflate($data, $bad_level));
echo "\n-- Testing with incorrect encoding --\n";
-$bad_encoding = 99;
+$bad_encoding = 99;
var_dump(gzdeflate($data, $level, $bad_encoding));
class Tester {
function Hello() {
- echo "Hello\n";
+ echo "Hello\n";
}
}