It returns information about a file
Example
<?php
echo “<pre>”;
print_r(stat(“test.txt”));
?>
Output
Array
(
[0] => 2049
[1] => 673769
[2] => 33279
[3] => 1
[4] => 33
[5] => 33
[6] => 0
[7] => 8
[8] => 1336816154
[9] => 1336816154
[10] => 1336816154
[11] => 4096
[12] => 8
[dev] => 2049
[ino] => 673769
[mode] => 33279
[nlink] => 1
[uid] => 33
[gid] => 33
[rdev] => 0
[size] => 8
[atime] => 1336816154
[mtime] => 1336816154
[ctime] => 1336816154
[blksize] => 4096
[blocks] => 8
)