echo "*** Testing gzopen() : variation ***\n";
-$data = <<<EOT
+$data = b<<<EOT
Here is some plain
text to be read
and displayed.
<?php
$f = "temp3.txt.gz";
$h = gzopen($f, 'w');
-$str1 = "This is the first line.";
-$str2 = "This is the second line.";
+$str1 = b"This is the first line.";
+$str2 = b"This is the second line.";
gzwrite($h, $str1);
echo "tell=";
var_dump(gztell($h));
?>
--FILE--
<?php
-$org_data = <<<EOT
+$org_data = b<<<EOT
uncompressed contents of 004.txt.gz is:
When you're taught through feelings
Destiny flying high above
<?php
$outputFileName = __FILE__.'tmp';
$outFile = "compress.zlib://$outputFileName";
-$data = <<<EOT
+$data = b<<<EOT
Here is some plain
text to be read
and displayed.