php-src/ext/standard/tests/file/is_readable_error.phpt
2023-11-16 16:28:12 +01:00

13 lines
290 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_error.tmp") );
echo "Done\n";
?>
--EXPECT--
*** Testing is_readable() on non-existent file ***
bool(false)
Done