123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- --TEST--
- Test function fstat() by calling it with its expected arguments
- --FILE--
- <?php
- $fp = fopen (__FILE__, 'r');
- var_dump(fstat( $fp ) );
- fclose($fp);
- ?>
- --EXPECTF--
- array(26) {
- [0]=>
- int(%i)
- [1]=>
- int(%i)
- [2]=>
- int(%i)
- [3]=>
- int(%i)
- [4]=>
- int(%i)
- [5]=>
- int(%i)
- [6]=>
- int(%i)
- [7]=>
- int(%i)
- [8]=>
- int(%i)
- [9]=>
- int(%i)
- [10]=>
- int(%i)
- [11]=>
- int(%i)
- [12]=>
- int(%i)
- ["dev"]=>
- int(%i)
- ["ino"]=>
- int(%i)
- ["mode"]=>
- int(%i)
- ["nlink"]=>
- int(%i)
- ["uid"]=>
- int(%i)
- ["gid"]=>
- int(%i)
- ["rdev"]=>
- int(%i)
- ["size"]=>
- int(%i)
- ["atime"]=>
- int(%i)
- ["mtime"]=>
- int(%i)
- ["ctime"]=>
- int(%i)
- ["blksize"]=>
- int(%i)
- ["blocks"]=>
- int(%i)
- }
|