The is_file() function checks whether the specified file is a regular file.
This function returns TRUE if it is a file.
|file||Required. Specifies the file to check|
Note: The result of this function are cached. Use clearstatcache() to clear the cache.
The output of the code above could be:
Your message has been sent to W3Schools.