Lines Matching refs:stat
2 Test lstat() & stat() functions: basic functionality
15 Prototype: array stat ( string $filename );
22 echo "*** Testing lstat() & stat() : basic functionality ***\n";
30 // stat of the dir created
31 $dir_stat = stat($dirname);
39 // stat of the file created
40 $file_stat = stat($filename);
43 // now new stat of the dir after file is created
44 $new_dir_stat = stat($dirname);
47 // create soft link and record stat
50 // stat of the link created
53 // new stat of the file, after a softlink to this file is created
54 $new_file_stat = stat($filename);
57 // stat contains 13 different values stored twice, can be accessed using
59 echo "*** Testing stat() and lstat() : validating the values stored in stat ***\n";
60 // Initial stat values
65 // New stat values taken after creation of file & link
69 // compare the two stat values, initial stat and stat recorded after
71 echo "*** Testing stat() and lstat() : comparing stats (recorded before and after file/link creatio…
89 *** Testing lstat() & stat() : basic functionality ***
90 *** Testing stat() and lstat() : validating the values stored in stat ***
96 *** Testing stat() and lstat() : comparing stats (recorded before and after file/link creation) ***