bool is_file ( string $filename )
Tells whether the given file is a regular file.
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.