1--TEST--
2Test function fstat() by calling it more than or less than its expected arguments
3--FILE--
4<?php
5$fp = fopen (__FILE__, 'r');
6$extra_arg = 'nothing';
7
8var_dump(fstat( $fp, $extra_arg ) );
9var_dump(fstat());
10
11fclose($fp);
12
13?>
14===DONE===
15--EXPECTF--
16Warning: fstat() expects exactly 1 parameter, 2 given in %s on line %d
17bool(false)
18
19Warning: fstat() expects exactly 1 parameter, 0 given in %s on line %d
20bool(false)
21===DONE===
22