Which function do you have to use to check whether the $path you’ve stored exists?
Which function do you have to use to check whether the $path you’ve stored exists? Correct Answer is_dir()
If the path exists, is_dir() returns TRUE; otherwise, it returns FALSE.