Lines Matching refs:is_readable
2 Test is_readable() function: error conditions
5 /* Prototype: bool is_readable ( string $filename );
9 echo "*** Testing is_readable(): error conditions ***\n";
10 var_dump( is_readable() ); // args < expected
11 var_dump( is_readable(1, 2) ); // args > expected
13 echo "\n*** Testing is_readable() on non-existent file ***\n";
14 var_dump( is_readable(dirname(__FILE__)."/is_readable.tmp") );
19 *** Testing is_readable(): error conditions ***
21 Warning: is_readable() expects exactly 1 parameter, 0 given in %s on line %d
24 Warning: is_readable() expects exactly 1 parameter, 2 given in %s on line %d
27 *** Testing is_readable() on non-existent file ***