What function can be used to verify the existence of a file in PHP?

To verify the existence of a file in PHP, you can use the `file_exists()` function. This function takes a file path as an argument and returns true if the file exists and false if it does not.

$file_path = 'path/to/your/file.txt';

if (file_exists($file_path)) {
    echo 'File exists!';
} else {
    echo 'File does not exist.';
}