--- embedaddon/php/ext/zlib/tests/gzwrite_variation1.phpt 2012/02/21 23:48:05 1.1.1.1 +++ embedaddon/php/ext/zlib/tests/gzwrite_variation1.phpt 2012/05/29 12:34:38 1.1.1.2 @@ -11,7 +11,7 @@ if (!extension_loaded("zlib")) { $filename = dirname(__FILE__)."/004.txt.gz"; $h = gzopen($filename, 'r'); -$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(gzread($h, 10));