Easy Tutorial
❮ Php Image Gd Func String Strrchr ❯

PHP is_file() Function



Definition and Usage

The is_file() function checks if the specified file is a regular file.

If the file is a regular file, the function returns TRUE.

Syntax

Parameter Description
file Required. Specifies the file to check.

Tips and Notes

Note: The result of this function is cached. Use clearstatcache() to clear the cache.


Example

The above code will output:


❮ Php Image Gd Func String Strrchr ❯