Name
filetype
Synopsis
string filetype(string path
)
Returns the type of file given in
path
. The possible types are:
| The file is a fifo pipe. |
| The file is a text file. |
| |
| A block reserved for use by the filesystem. |
| The file is a symbolic link. |
| The file contains binary data. |
| The file’s type could not be determined. |
Get Programming PHP, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.