php-src/ext/standard/tests/file/fstat_basic.phpt
Fabien Villepinte a555cc0b3d Clean DONE tags from tests
Remove most of the `===DONE===` tags and its variations.
Keep `===DONE===` if the test output otherwise becomes empty.

Closes GH-4872.
2019-11-07 21:31:47 +01:00

63 lines
725 B
PHP

--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)
}