200-710 Exam Details

  • Exam Code
    :200-710
  • Exam Name
    :Zend Certified Engineer
  • Certification
    :Zend Certifications
  • Vendor
    :Zend
  • Total Questions
    :233 Q&As
  • Last Updated
    :May 25, 2026

Zend 200-710 Online Questions & Answers

  • Question 171:

    What is the output of the following code?

    $a = 'a'; $b = 'b';

    echo isset($c) ? $a.$b.$c : ($c = 'c').'d';

    A. abc
    B. cd
    C. 0d

  • Question 172:

    What is the output of the following code?

    $a = 3;

    switch ($a) {

    case 1: echo 'one'; break;

    case 2: echo 'two'; break;

    default: echo 'four'; break;

    case 3: echo 'three'; break;

    }

    A. one
    B. two
    C. three
    D. four

  • Question 173:

    What is the output of the following code?

    for ($i = 0; $i < 1.02; $i += 0.17) {

    $a[$i] = $i;

    }

    echo count($a);

    B. 1
    C. 2
    D. 6
    E. 7

  • Question 174:

    Consider the following code. What can be said about the call to file_get_contents?

    $getdata = "foo=bar";

    $opts = array('http' =>

    array(

    'method' => 'POST',

    'header' => 'Content-type: application/x-www-form-urlencoded',

    'content' => $getdata

    )

    );

    $context = stream_context_create($opts);

    $result = file_get_contents('http://example.com/submit.php', false, $context);

    A. A GET request will be performed on http://example.com/submit.php
    B. A POST request will be performed on http://example.com/submit.php
    C. An error will be displayed

  • Question 175:

    How many elements does the array $matches from the following code contain?

    $str = "The cat sat on the roof of their house.";

    $matches = preg_split("/(the)/i", $str, -1, PREG_SPLIT_DELIM_CAPTURE);

    A. 2
    B. 3
    C. 4
    D. 7
    E. 9

  • Question 176:

    Which of the following may be used in conjunction with CASE inside a SWITCH statement?

    A. A scalar
    B. An expression
    C. A boolean
    D. All of the above

  • Question 177:

    What is the output of the following code?

    class A {

    public $a = 1;

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

    public function mul() {

    return function($x) {

    return $this->a*$x;

    };

    }

    }

    $a = new A(2);

    $a->mul = function($x) {

    return $x*$x;

    };

    $m = $a->mul();

    echo $m(3);

    A. 9
    B. 6
    D. 3

  • Question 178:

    What SimpleXML function is used to parse a file?

    A. simplexml_load_file()
    B. simplexml_load_string()
    C. load()
    D. loadFile()
    E. loadXML()
    F. None of the above.

  • Question 179:

    Consider the following code. What change must be made to the class for the code to work as written?

    class Magic {

    protected $v = array("a" => 1, "b" => 2, "c" => 3);

    public function __get($v) {

    return $this->v[$v];

    }

    }

    $m = new Magic();

    $m->d[] = 4;

    echo $m->d[0];

    A. Nothing, this code works just fine.
    B. Add __set method doing $this->v[$var] = $val
    C. Rewrite __get as: public function __get(and$v)
    D. Rewrite __get as: public function and__get($v)
    E. Make __get method static

  • Question 180:

    What is the name of the function that allows you register a set of functions that implement user-defined session handling?

    A. session_set_handler()
    B. session_set_storage_handler()
    C. session_register_handler()
    D. session_set_save_handler()

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Zend exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 200-710 exam preparations and Zend certification application, do not hesitate to visit our Vcedump.com to find your solutions here.