php-8.0.30-src/ext/standard/tests/file/is_readable_error.phpt

14 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