Lines Matching refs:readfile
2 Test readfile() function: error conditions
7 echo "*** Test readfile(): error conditions ***\n";
9 echo "\n-- Testing readfile() with invalid arguments --\n";
12 var_dump( readfile(NULL) ); // NULL as $filename
17 var_dump( readfile('') ); // empty string as $filename
22 var_dump( readfile(false) ); // boolean false as $filename
27 echo "\n-- Testing readfile() with non-existent file --\n";
29 var_dump( readfile($non_existent_file) );
34 *** Test readfile(): error conditions ***
36 -- Testing readfile() with invalid arguments --
41 -- Testing readfile() with non-existent file --
43 Warning: readfile(%s/non_existent_file.tmp): Failed to open stream: %s in %s on line %d