(PHP 4, PHP 5, PHP 7)
Tells whether a file exists and is readable
bool is_readable ( string $filename )
Tells whether a file exists and is readable.
Parameters:
filename
Path to the file.
Returns:
Returns TRUE if the file or directory specified by filename exists and is readable, FALSE otherwise.
Exception:
Upon