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

    Which of the following is NOT a valid function declaration?

    A. function x ($x1 = array())
    B. function x (A $x1)
    C. function x (A $x1 = null)
    D. function x ($x1 = $x2)

  • Question 82:

    How can you determine whether a PHP script has already sent cookies to the client?

    A. Use $_COOKIE
    B. Use the getcookie() function
    C. Use the headers_sent() function
    D. Use JavaScript to send a second HTTP request

  • Question 83:

    What is the output of the following code? echo '1' . (print '2') + 3;

    A. 123
    B. 213
    C. 142
    D. 214
    E. Syntax error

  • Question 84:

    What is the output of the following code?

    function fibonacci (and$x1 = 0, and$x2 = 1)

    {

    $result = $x1 + $x2;

    $x1 = $x2;

    $x2 = $result;

    return $result;

    }

    for ($i = 0; $i < 10; $i++) {

    echo fibonacci() . ',';

    }

    A. An error
    B. 1,1,1,1,1,1,1,1,1,1,
    C. 1,1,2,3,5,8,13,21,34,55,
    D. Nothing

  • Question 85:

    What is the output of the following code?

    function ratio ($x1 = 10, $x2)

    {

    if (isset ($x2)) {

    return $x2 / $x1;

    } } echo ratio (0);

    B. An integer overflow error
    C. A warning, because $x1 is not set
    D. A warning, because $x2 is not set
    E. A floating-point overflow error
    F. Nothing

  • Question 86:

    In the following code, which line should be changed so it outputs the number 2:

    class A {

    protected $x = array(); /* A */

    public function getX() { /* B */

    return $this->x; /* C */

    }

    }

    $a = new A(); /* D */

    array_push($a->getX(), "one");

    array_push($a->getX(), "two");

    echo count($a->getX());

    A. No changes needed, the code would output 2 as is
    B. Line A, to: protected and$x = array();
    C. Line B, to: public function andgetX() {
    D. Line C, to: return and$this->x;
    E. Line D, to: $a =and new A();

  • Question 87:

    What is the output of the following code?

    function z($x) {

    return function ($y) use ($x) {

    return str_repeat($y, $x);

    };

    }

    $a = z(2);

    $b = z(3);

    echo $a(3) . $b(2);

    A. 22333
    B. 33222
    C. 33322
    D. 222333

  • Question 88:

    Which of the following statements is NOT correct?

    A. Only methods can have type hints
    B. Typehints can be optional
    C. Typehints can be references

  • Question 89:

    Which of the following are NOT acceptable ways to create a secure password hash in PHP? (Choose 2)

    A. md5()
    B. hash_pbkdf2()
    C. password_hash()
    D. crypt()
    E. openssl_digest()

  • Question 90:

    Which options do you have in PHP to set the expiry date of a session?

    A. Set the session.duration directive in php.ini
    B. Set session cookie expiry date locally via session_set_cookie_params()
    C. Set session expiry date locally via session_cache_expire()
    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.