]> granicus.if.org Git - php/blob
1520eb4d20
[php] /
1 --TEST--
2 Test is_readable() function: error conditions
3 --FILE--
4 <?php
5 /* Prototype: bool is_readable ( string $filename );
6    Description: Tells whether the filename is readable
7 */
8
9 echo "\n*** Testing is_readable() on non-existent file ***\n";
10 var_dump( is_readable(__DIR__."/is_readable.tmp") );
11
12 echo "Done\n";
13 ?>
14 --EXPECTF--
15 *** Testing is_readable() on non-existent file ***
16 bool(false)
17 Done