Free Zend 200-710 Exam Actual Questions

The questions for 200-710 were last updated On Nov 20, 2024

Question No. 1

What is the output of the following code?

$a = array('a', 'b'=>'c');

echo property_exists((object) $a, 'a')?'true':'false';

echo '-';

echo property_exists((object) $a, 'b')?'true':'false';

Show Answer Hide Answer
Correct Answer: B

Question No. 2

Which of the following is NOT true about PHP traits? (Choose 2)

Show Answer Hide Answer
Correct Answer: B, E

Question No. 3

What is the output of the following code?

var_dump(boolval(new StdClass()));

Show Answer Hide Answer
Correct Answer: A

Question No. 4

Which of the following will set a 10 seconds read timeout for a stream?

Show Answer Hide Answer
Correct Answer: D

Question No. 5

What exception type will catch the error raised by the expression 2 / 0?

Show Answer Hide Answer
Correct Answer: C