Note:
These constants are available starting with PHP 5.1.0. Please note that some of them may not be available on your system.
POSIX_S_IFBLK
(int)
POSIX_S_IFCHR
(int)
POSIX_S_IFIFO
(int)
POSIX_S_IFREG
(int)
POSIX_S_IFSOCK
(int)