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