file_exists

file_exists -- Check whether a file exists.

Description

int file_exists(string filename);

Returns true if the file specified by filename exists; false otherwise.

The results of this function are cached. See clearstatcache() for more details.