Lines Matching refs:stat
2 Test stat() function: basic functionality
14 echo "*** Testing stat() : basic functionality ***\n";
21 // stat of the dir created
22 $dir_stat = stat($dirname);
30 // stat of the file created
31 $file_stat = stat($filename);
34 // now new stat of the dir after file is created
35 $new_dir_stat = stat($dirname);
38 // stat contains 13 different values stored twice, can be accessed using
40 echo "*** Testing stat(): validating the values stored in stat ***\n";
41 // Initial stat values
45 // New stat values taken after creation of file
48 // compare the two stat values, initial stat and stat recorded after
50 echo "*** Testing stat(): comparing stats (recorded before and after file creation) ***\n";
55 echo "*** Testing stat(): for the return value ***\n";
56 var_dump( is_array( stat($filename) ) );
67 *** Testing stat() : basic functionality ***
68 *** Testing stat(): validating the values stored in stat ***
72 *** Testing stat(): comparing stats (recorded before and after file creation) ***
183 *** Testing stat(): for the return value ***