Home >> PHP >> filetype() function in PHP

filetype() function in PHP

The filetype() function returns the file type of file or directory.

Possible return  values are fifo, char, dir, block, link, file, socket and unknown.




echo filetype("content.txt");



Post Your Comment

Next Questions
flock() function
fputs() function
fscanf() function
fstat() function
ftell() function
ftruncate() function
is_executable() function
is_file() function
is_link() function
is_readable() function
is_writable() function
link() function
linkinfo() function
pathinfo() function
readfile() function
readlink() function
realpath() function
rename() function
tmpfile() function
umask() function
How to swap two numbers without using a temprory variable
How to swap two numbers
How can find factorial using for loop
How can find reverse number of a number
How can find number is palindrome or not

Copyright ©2022 coderraj.com. All Rights Reserved.