is_file

Example

 bool is_file ( string $filename ) 

Description

Tells whether the given file is a regular file.

Return Values

Returns TRUE if the filename exists and is a regular file, FALSE otherwise. Note: Because PHP's integer type is signed and many platforms use 32bit integers, some filesystem functions may return unexpected results for files which are larger than 2GB.