diff options
| author | Gabriel Caruso <carusogabriel34@gmail.com> | 2018-09-16 14:16:42 -0300 |
|---|---|---|
| committer | Gabriel Caruso <carusogabriel34@gmail.com> | 2018-10-14 12:07:20 -0300 |
| commit | 9c144e0d8217d1ef7a83c2498214308b21af749f (patch) | |
| tree | d977ba0d8601de477c52f62accf02c120ef06253 /ext/zlib/tests/gzwrite_error.phpt | |
| parent | b419732ddb0673dc5b15a67ee4bc7f06dd90d7d0 (diff) | |
| download | php-git-9c144e0d8217d1ef7a83c2498214308b21af749f.tar.gz | |
Trim trailing whitespace in tests
Diffstat (limited to 'ext/zlib/tests/gzwrite_error.phpt')
| -rw-r--r-- | ext/zlib/tests/gzwrite_error.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/zlib/tests/gzwrite_error.phpt b/ext/zlib/tests/gzwrite_error.phpt index b4ddbb2ec7..fca081171c 100644 --- a/ext/zlib/tests/gzwrite_error.phpt +++ b/ext/zlib/tests/gzwrite_error.phpt @@ -1,9 +1,9 @@ --TEST-- Test function gzwrite() by calling it more than or less than its expected arguments --SKIPIF-- -<?php +<?php if (!extension_loaded("zlib")) { - print "skip - ZLIB extension not loaded"; + print "skip - ZLIB extension not loaded"; } ?> --FILE-- @@ -12,7 +12,7 @@ $filename = "gzwrite_error.txt.gz"; $h = gzopen($filename, 'w'); $str = "Here is the string to be written. "; $length = 10; -$extra_arg = 'nothing'; +$extra_arg = 'nothing'; var_dump(gzwrite($h, $str, $length, $extra_arg)); var_dump(gzwrite($h)); var_dump(gzwrite()); |
