Lines Matching refs:is_file
2 Test is_file() function: usage variations - diff. files
5 /* Testing is_file() with file containing data, truncating its size
10 echo "-- Testing is_file() with file containing data --\n";
15 var_dump( is_file($filename) );
18 echo "\n-- Testing is_file() after truncating filesize to zero bytes --\n";
22 var_dump( is_file($file_path."/is_file_variation1.tmp") ); // expected true
26 echo "\n-- Testing is_file() with an empty file --\n";
29 var_dump( is_file($file_path."/is_file_variation1.tmp") ); //expected true
35 var_dump( is_file($file_path."/is_file_variation1.tmp") ); // expected true
42 -- Testing is_file() with file containing data --
45 -- Testing is_file() after truncating filesize to zero bytes --
48 -- Testing is_file() with an empty file --