1--TEST--
2Test function fstat() by calling it with its expected arguments
3--FILE--
4<?php
5$fp = fopen (__FILE__, 'r');
6var_dump(fstat( $fp ) );
7fclose($fp);
8?>
9===DONE===
10--EXPECTF--
11array(26) {
12  [0]=>
13  int(%i)
14  [1]=>
15  int(%i)
16  [2]=>
17  int(%i)
18  [3]=>
19  int(%i)
20  [4]=>
21  int(%i)
22  [5]=>
23  int(%i)
24  [6]=>
25  int(%i)
26  [7]=>
27  int(%i)
28  [8]=>
29  int(%i)
30  [9]=>
31  int(%i)
32  [10]=>
33  int(%i)
34  [11]=>
35  int(%i)
36  [12]=>
37  int(%i)
38  ["dev"]=>
39  int(%i)
40  ["ino"]=>
41  int(%i)
42  ["mode"]=>
43  int(%i)
44  ["nlink"]=>
45  int(%i)
46  ["uid"]=>
47  int(%i)
48  ["gid"]=>
49  int(%i)
50  ["rdev"]=>
51  int(%i)
52  ["size"]=>
53  int(%i)
54  ["atime"]=>
55  int(%i)
56  ["mtime"]=>
57  int(%i)
58  ["ctime"]=>
59  int(%i)
60  ["blksize"]=>
61  int(%i)
62  ["blocks"]=>
63  int(%i)
64}
65===DONE===
66