Correct Answer: 12
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
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;
Output of the following code? echo new stdClass == new stdClass, '-', new stdClass !== new stdClass;
What is the function to report errors from mysqli functions or queries?
$a = 'Hello'; echo (int)!!$a;
Which is the correct output ? $result = echo '
$result
Error reporting should be set to which option in the development environment?
Which is correct about the following snippet? const C = 2; class example { const D = C * 2; const E = C + self::D; const F = } echo example::D, PHP_EOL; echo example::F; ?>
Which is used for checking the installed version of PHP 7.1 ?
Which is correct? class example { function do_example() { echo 'Testing example code.'; } } $b = new example; $b->do_example(); ?>