check if a file exist php code example Example: file exist php file_exists ( string $filename ) : bool