How to check if a directory exists?
Correct Answer: file_exists($name);
Explanation:
Note: This Question is unanswered, help us to find answer for this one
PHP Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More PHP MCQ Questions
Best way to iterate and modify every element of an array using PHP 5?
The contents of an image file are stored in memory as $imString, but the original file is not available. Of the following, which uses the least amount of code and is a valid method of retrieving the dimensions of $imString?
Which functions set options in curl script?
Which functions compare the substrings of the parameters?
Which functions get a list of response headers sent (or ready to send)?
Which are valid float values?
Which array function checks if the specified key exists in the array
What's the output? $a = (2 == '2') ? true : false; echo $a;
What's the output? $integer = 5; $string = strval($integer); var_dump($string);
Which is not valid PHP code?