Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Checks whether a file or directory exists
<?php file_exists(string $filename): bool
<?php     protected static function createFilesystemAdapter(): FilesystemAdapter

    {

        if ( ! file_exists(__DIR__ . '/../../google-cloud-service-account.json')) {

            self::markTestSkipped("No google service account found in project root.");

        }
<?php     {

        $location = $this->prefixer->prefixPath($path);



        if ( ! file_exists($location)) {

            return;

        }
<?php     protected static function removeZipArchive(): void

    {

        if ( ! file_exists(self::ARCHIVE)) {

            return;

        }