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--
16
17Warning: fstat() expects exactly 1 parameter, 2 given in %s on line %d
18bool(false)
19
20Warning: fstat() expects exactly 1 parameter, 0 given in %s on line %d
21bool(false)
22===DONE===