The filetype() function returns the file type of a file.
Possible return values:
Note: The result of this function is cached. Use clearstatcache() to clear the cache.
filetype(
filename)
Parameter | Description |
---|---|
filename | Required. Specifies the file to check |
Return Value: | One of the file types on success, FALSE on failure |
---|---|
PHP Version: | 4.0+ |
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!