php-src/ext/standard/tests/file/is_readable_error.phpt
2020-06-24 13:13:44 +02:00

13 lines
284 B
PHP

--TEST--
Test is_readable() function: error conditions
--FILE--
<?php
echo "\n*** Testing is_readable() on non-existent file ***\n";
var_dump( is_readable(__DIR__."/is_readable.tmp") );
echo "Done\n";
?>
--EXPECT--
*** Testing is_readable() on non-existent file ***
bool(false)
Done