file_exists on directory that does not exists php code example Example: file exist php file_exists ( string $filename ) : bool