1--TEST--
2Test function gzrewind() by calling it with its expected arguments when writing
3--EXTENSIONS--
4zlib
5--FILE--
6<?php
7$f = "gzrewind_variation1.txt.gz";
8$h = gzopen($f, 'w');
9gzwrite($h, 'The first string.');
10var_dump(gzrewind($h));
11gzwrite($h, 'The second string.');
12gzclose($h);
13
14$h = gzopen($f, 'r');
15gzpassthru($h);
16gzclose($h);
17unlink($f);
18echo "\n";
19?>
20--EXPECT--
21bool(false)
22The first string.The second string.
23