2 Test is_readable() function: usage variations - invalid file names
5 require __DIR__ . '/../skipif_root.inc';
9 /* Prototype: bool is_readable ( string $filename );
10 Description: Tells whether the filename is readable.
13 /* test is_executable() with invalid arguments */
15 echo "*** Testing is_readable(): usage variations ***\n";
17 $file_handle = fopen(__FILE__, "r");
20 echo "\n*** Testing is_readable() on miscellaneous filenames ***\n";
31 /* loop through to test each element in the above array
33 foreach( $misc_files as $misc_file ) {
34 var_dump( is_readable($misc_file) );
41 *** Testing is_readable(): usage variations ***
43 *** Testing is_readable() on miscellaneous filenames ***