Free Zend 200-710 Exam Actual Questions

The questions for 200-710 were last updated On Jan 16, 2025

Question No. 1

What is the difference between the spaceship operator (<=>) and the strcmp() function?

Show Answer Hide Answer
Correct Answer: D

Question No. 2

What is the output of the following code?

echo "22" + "0.2", 23 . 1;

Show Answer Hide Answer
Correct Answer: B

Question No. 3

Which of these error types may be handled by a user defined error handler function? (Choose two.)

Show Answer Hide Answer
Correct Answer: A, C

Question No. 4

What is the output of the following code?

Show Answer Hide Answer
Correct Answer: A

Question No. 5

What is the output of the following code?

class Number {

private $v;

private static $sv = 10;

public function __construct($v) { $this->v = $v; }

public function mul() {

return static function ($x) {

return isset($this) ? $this->v*$x : self::$sv*$x;

};

}

}

$one = new Number(1);

$two = new Number(2);

$double = $two->mul();

$x = Closure::bind($double, null, 'Number');

echo $x(5);

Show Answer Hide Answer
Correct Answer: C