lstat

PHP 4, PHP 5, PHP 7, PHP 8
lstat - Gives information about a file or symbolic link
Manual
Code Examples

Example #1 Comparison of stat and lstat

Result: Array ( [ino] => 97236376 [mode] => 33188 [size] => 34 [atime] => 1223580003 [mtime] => 1223581848 [ctime] => 1223581848 [blocks] => 8 )
PHP Version: