1--TEST--
2Test function gzpassthru() by calling it with its expected arguments
3--EXTENSIONS--
4zlib
5--FILE--
6<?php
7
8// note that gzpassthru is an alias to fpassthru. parameter checking tests will be
9// the same as fpassthru
10
11$f = __DIR__."/004.txt.gz";
12$h = gzopen($f, 'r');
13var_dump(gzpassthru($h));
14var_dump(gzpassthru($h));
15gzclose($h);
16
17?>
18--EXPECT--
19When you're taught through feelings
20Destiny flying high above
21all I know is that you can realize it
22Destiny who cares
23as it turns around
24and I know that it descends down on me
25int(176)
26int(0)
27