HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Check whether the specified filename is a regular file
The is_file() function checks whether the specified filename is a regular file.
Parameter | Description |
---|---|
file | Required. Specifies the path to the file to check |
Return Value: | TRUE if the file is a regular file, FALSE otherwise |
---|---|
PHP Version: | 4.0+ |
❮ PHP Filesystem Reference