|
SplFileObject::fstatGets information about the file Beschreibung
public array SplFileObject::fstat
( void
)
Gathers the statistics of the file. Behaves identically to fstat. Parameter-ListeDiese Funktion hat keine Parameter. RückgabewerteReturns an array with the statistics of the file; the format of the array is described in detail on the stat manual page. Beispiele
Beispiel #1 SplFileObject::fstat example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:
Array
(
[dev] => 771
[ino] => 488704
[mode] => 33188
[nlink] => 1
[uid] => 0
[gid] => 0
[rdev] => 0
[size] => 1114
[atime] => 1061067181
[mtime] => 1056136526
[ctime] => 1056136526
[blksize] => 4096
[blocks] => 8
)
Siehe auch
|