Lines Matching refs:stat
2 Test lstat() & stat() functions: basic functionality
15 echo "*** Testing lstat() & stat() : basic functionality ***\n";
23 // stat of the dir created
24 $dir_stat = stat($dirname);
32 // stat of the file created
33 $file_stat = stat($filename);
36 // now new stat of the dir after file is created
37 $new_dir_stat = stat($dirname);
40 // create soft link and record stat
43 // stat of the link created
46 // new stat of the file, after a softlink to this file is created
47 $new_file_stat = stat($filename);
50 // stat contains 13 different values stored twice, can be accessed using
52 echo "*** Testing stat() and lstat() : validating the values stored in stat ***\n";
53 // Initial stat values
58 // New stat values taken after creation of file & link
62 // compare the two stat values, initial stat and stat recorded after
64 echo "*** Testing stat() and lstat() : comparing stats (recorded before and after file/link creatio…
82 *** Testing lstat() & stat() : basic functionality ***
83 *** Testing stat() and lstat() : validating the values stored in stat ***
89 *** Testing stat() and lstat() : comparing stats (recorded before and after file/link creation) ***