posix_access
brefphp/bref
Supported Versions: PHP 5 >= 5.1.0, PHP 7, PHP 8
Determine accessibility of a file
<?php posix_access
(
string $filename
,
int $flags
=
0
):
bool