Lines Matching refs:stat
2 Test stat() function: basic functionality
12 Prototype: array stat ( string $filename );
19 echo "*** Testing stat() : basic functionality ***\n";
26 // stat of the dir created
27 $dir_stat = stat($dirname);
35 // stat of the file created
36 $file_stat = stat($filename);
39 // now new stat of the dir after file is created
40 $new_dir_stat = stat($dirname);
43 // stat contains 13 different values stored twice, can be accessed using
45 echo "*** Testing stat(): validating the values stored in stat ***\n";
46 // Initial stat values
50 // New stat values taken after creation of file
53 // compare the two stat values, initial stat and stat recorded after
55 echo "*** Testing stat(): comparing stats (recorded before and after file creation) ***\n";
60 echo "*** Testing stat(): for the return value ***\n";
61 var_dump( is_array( stat($filename) ) );
72 *** Testing stat() : basic functionality ***
73 *** Testing stat(): validating the values stored in stat ***
77 *** Testing stat(): comparing stats (recorded before and after file creation) ***
188 *** Testing stat(): for the return value ***