1--TEST--
2Test gzopen() function : variation: opening a plain file
3--EXTENSIONS--
4zlib
5--FILE--
6<?php
7echo "*** Testing gzopen() : variation ***\n";
8
9$data = <<<EOT
10Here is some plain
11text to be read
12and displayed.
13EOT;
14
15$file = "gzopen_variation8.tmp";
16$h = fopen($file, 'w');
17fwrite($h, $data);
18fclose($h);
19
20$h = gzopen($file, 'r');
21gzpassthru($h);
22gzclose($h);
23echo "\n";
24unlink($file);
25?>
26--EXPECT--
27*** Testing gzopen() : variation ***
28Here is some plain
29text to be read
30and displayed.
31