The lstat() function returns information about a file or symbolic link.
Note: The results from this function will differ from server to server. The array may contain the number index, the name index, or both.
Note: The result of this function is cached. Use clearstatcache() to clear the cache.
Tip: This function is similar to stat(), except that if the filename parameter is a symbolic link, the status of the symbolic link is returned.
lstat(
filename)
Parameter | Description |
---|---|
filename | Required. Specifies the path to the file or a symbolic link to check |
Return Value: | An array with the following elements:
It returns an E_WARNING on failure |
---|---|
PHP Version: | 4.0+ |
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!