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('') ); // empty string as $filename
17 var_dump( readfile(false) ); // boolean false as $filename
22 echo "\n-- Testing readfile() with non-existent file --\n";
24 var_dump( readfile($non_existent_file) );
29 *** Test readfile(): error conditions ***
31 -- Testing readfile() with invalid arguments --
35 -- Testing readfile() with non-existent file --
37 Warning: readfile(%s/non_existent_file.tmp): Failed to open stream: %s in %s on line %d