stat

(PHP 3, PHP 4 >= 4.0.0)

stat -- Zji╣╗uje informace o souboru

Popis

array stat ( string filename)

Sbφrß statistiky o souboru indentifikovanΘm nßzvem filename.

Vracφ pole se statistikami souboru s t∞mito elementy:

  1. device

  2. inode

  3. inode protection mode

  4. number of links

  5. user id of owner

  6. group id owner

  7. device type if inode device *

  8. size in bytes

  9. time of last access

  10. time of last modification

  11. time of last change

  12. blocksize for filesystem I/O *

  13. number of blocks allocated

* - platnΘ pouze na systΘmechs podporou typu st_blksize -- jinde (nap°. na Windows) vrßtφ -1

V²sledek tΘto funkce je cachovßn. Vφce informacφ - viz clearstatcache().