summaryrefslogtreecommitdiff
path: root/ext/zlib/tests/gzwrite_basic.phpt
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2010-03-11 10:24:29 (GMT)
committerJani Taskinen <jani@php.net>2010-03-11 10:24:29 (GMT)
commit06f072cb5e4e3582e20b8762141eccbc4dce85fa (patch)
tree511382440db96edad3a2627ce361113e29d672ab /ext/zlib/tests/gzwrite_basic.phpt
parentf60946eb5430cd11daa9f88503dc9b1a9b7bd634 (diff)
downloadphp-06f072cb5e4e3582e20b8762141eccbc4dce85fa.tar.gz
MFH: Improved / fixed output buffering (Michael Wallner)
Diffstat (limited to 'ext/zlib/tests/gzwrite_basic.phpt')
-rw-r--r--ext/zlib/tests/gzwrite_basic.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zlib/tests/gzwrite_basic.phpt b/ext/zlib/tests/gzwrite_basic.phpt
index 0d75216..4f76f32 100644
--- a/ext/zlib/tests/gzwrite_basic.phpt
+++ b/ext/zlib/tests/gzwrite_basic.phpt
@@ -11,7 +11,7 @@ if (!extension_loaded("zlib")) {
$filename = "temp.txt.gz";
$h = gzopen($filename, 'w');
-$str = "Here is the string to be written. ";
+$str = b"Here is the string to be written. ";
$length = 10;
var_dump(gzwrite( $h, $str ) );
var_dump(gzwrite( $h, $str, $length ) );