file_exists
symfony/var-dumper
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Checks whether a file or directory exists
file_exists
(
string $filename
):
bool
$parent
=
$dir
;
while (!@
is_file
(
$parent
.
'/composer.json'
)) {
if (!@
file_exists
(
$parent
)) {
break;
}
Caster/LinkStub.php