Satya's blog - PHP has too many functions
PHP has too many functions.
I was looking for ways to tell if a file is a symlink,
and it turns out there is a function called filetype(),
which returns the file type: link, file, dir, etc.
Turns out there are functions like is_link(), is_file, too.
That's just crazy.
|
|