diff options
Diffstat (limited to 'ext/zlib/tests/gztell_basic2.phpt')
-rw-r--r-- | ext/zlib/tests/gztell_basic2.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/zlib/tests/gztell_basic2.phpt b/ext/zlib/tests/gztell_basic2.phpt index a8574eeaa6..56546f03b2 100644 --- a/ext/zlib/tests/gztell_basic2.phpt +++ b/ext/zlib/tests/gztell_basic2.phpt @@ -1,9 +1,9 @@ --TEST-- Test function gztell() by calling it with its expected arguments when writing --SKIPIF-- -<?php +<?php if (!extension_loaded("zlib")) { - print "skip - ZLIB extension not loaded"; + print "skip - ZLIB extension not loaded"; } ?> --FILE-- @@ -14,7 +14,7 @@ $sizes = array(7, 22, 54, 17, 27, 15, 1000); // tell should be 7, 29, 83, 100, 127, 142, 1142 var_dump(gztell($h)); -foreach ($sizes as $size) { +foreach ($sizes as $size) { echo "bytes written=".gzwrite($h, str_repeat(b'1', $size))."\n";; echo "tell=".gztell($h)."\n"; } |