Correct Answer: file_exists($name);
Explanation:
Note: This Question is unanswered, help us to find answer for this one
PHP 5 Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More PHP 5 MCQ Questions
Which functions set options in curl script?
Which functions get a list of response headers sent (or ready to send)?
What result? $a = '1'; $a[$a] = '2'; echo $a;
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?
What this code will do? class Animal { public $name = 'dog'; } $a = new Animal(); $b = clone $a; $c = $a; $a->name = 'cat'; $b->name = 'bear'; $c->name = 'parrot'; echo $a->name . ', ' . $b->name . ', ' . $c->name;
Find the output. namespace A\B\C; const E_ERROR = 32; function strlen($s) { return \strlen($s) - 5; } echo E_ERROR, '\n'; echo INI_ALL, '\n'; echo strlen( if (is_array('abc')) { echo 'is an example.\n'; } else { echo 'is a test.\n'; } ?>
Find the output. $a = $b = &$a; $b = 'I met $b'; echo $b; echo $a; ?>
What will be the output? for ($a = 2, $b = 1; $a <= 6; $b += $a, print $a, $a++); ?>
Which is the correct output ? $result = echo '
$result
Error reporting should be set to which option in the development environment?