is_readable
Intervention/image
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Tells whether a file exists and is readable
<?php is_readable
(
string $filename
):
bool