1--TEST--
2Test function gzpassthru() by calling it more than or less than 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
13$f = dirname(__FILE__)."/004.txt.gz";
14$h = gzopen($f, 'r');
15$extra_arg = 'nothing';
16var_dump(gzpassthru( $h, $extra_arg ) );
17var_dump(gzpassthru() );
18gzclose($h);
19
20?>
21===DONE===
22--EXPECTF--
23Warning: gzpassthru() expects exactly 1 parameter, 2 given in %s on line %d
24bool(false)
25
26Warning: gzpassthru() expects exactly 1 parameter, 0 given in %s on line %d
27bool(false)
28===DONE===
29