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 101:

    Type hinting in PHP allows the identification of the following variable types: (Choose 2)

    A. String
    B. Integer
    C. Array
    D. Any class or interface type
    E. All of the above

  • Question 102:

    When retrieving data from URLs, what are valid ways to make sure all file_get_contents calls send a certain user agent string? (Choose 2)

    A. $default_opts = array('http'=>array('user_agent'=>"My Cool Browser")); $default = stream_context_set_default($default_opts);
    B. stream_context_set_option("user_agent", "My Cool Browser");
    C. ini_set('user_agent', "My Cool Browser");
    D. stream_context_set_option($context, "http", "user_agent", "My Cool Browser");

  • Question 103:

    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);

    A. 5
    B. 10
    C. 50
    D. Fatal error

  • Question 104:

    What is "instanceof" an example of?

    A. a boolean
    B. an operator
    C. a function
    D. a language construct
    E. a class magic

  • Question 105:

    What is the name of the header used to require HTTP authentication?

    A. Authorization-Required
    B. WWW-Authenticate
    C. HTTP-Authenticate
    D. Authentication-Required
    E. HTTP-Auth

  • Question 106:

    Given the following DateTime objects, what can you use to compare the two dates and indicate that $date2 is the later of the two dates?

    $date1 = new DateTime('2014-02-03');

    $date2 = new DateTime('2014-03-02');

    A. $date2 > $date1
    B. $date2 < $date1
    C. $date1->diff($date2) < 0
    D. $date1->diff($date2) > 0

  • Question 107:

    What purpose do namespaces fulfill?

    A. Encapsulation
    B. Alternative to classes
    C. Improved performance
    D. All of the above

  • Question 108:

    What is the result of the following code?

    class T

    {

    const A = 42 + 1;

    }

    echo T::A;

    A. 42
    B. 43
    C. Parse error

  • Question 109:

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

    A. Multiple traits can be used by a single class.
    B. A trait can implement an interface.
    C. A trait can declare a private variable.
    D. Traits are able to be auto-loaded.
    E. Traits automatically resolve conflicts based on definition order.

  • Question 110:

    After performing the following operations: $a = array('a', 'b', 'c'); $a = array_keys(array_flip($a)); What will be the value of $a?

    A. array('c', 'b', 'a')
    B. array(2, 1, 0)
    C. array('a', 'b', 'c')
    D. None of the above

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.