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
    :Jul 14, 2026

Zend 200-710 Online Questions & Answers

  • Question 221:

    Is the following code vulnerable to SQL Injection ($mysqli is an instance of the MySQLi class)?

    $age = $mysqli->real_escape_string($_GET['age']);

    $name = $mysqli->real_escape_string($_GET['name']);

    $query = "SELECT * FROM `table` WHERE name LIKE '$name' AND age = $age";

    $results = $mysqli->query($query);

    A. No, the code is fully protected from SQL Injection.
    B. Yes, because the $name variable is improperly escaped.
    C. Yes, because the $name variable and the $age variable is improperly escaped.
    D. Yes, because the $age variable is improperly escaped.
    E. Yes, because you cannot prevent SQL Injection when using MySQLi

  • Question 222:

    What is the result of the following code?

    define('PI', 3.14);

    class T

    {

    const PI = PI;

    }

    class Math

    {

    const PI = T::PI;

    }

    echo Math::PI;

    A. Parse error
    B. 3.14
    C. PI
    D. T::PI

  • Question 223:

    Before the headers are sent, how can you remove a previously set header?

    A. Use the header_remove() function, providing the name of the header
    B. Use the die() function to abort the PHP script
    C. Not possible
    D. Use the headers_list() function, providing the name of the header as the second argument

  • Question 224:

    Given a php.ini setting of

    default_charset = utf-8

    what will the following code print in the browser?

    header('Content-Type: text/html; charset=iso-8859-1');

    echo 'and#9986;and#10004;and#10013;';

    A. Three Unicode characters, or unreadable text, depending on the browser
    B. and#9986;and#10004;and#10013;
    C. A blank line due to charset mismatch

  • Question 225:

    CORRECT TEXT

    Which PHP function sets a cookie whose value does not get URL encoded when sending it to the browser?

  • Question 226:

    CORRECT TEXT

    What is the name of the key in $_FILES['name'] that contains the number of bytes of the uploaded file?

  • Question 227:

    The constructs for(), foreach(), and each() can all be used to iterate an object if the object...

    A. implements ArrayAccess
    B. implements Iterator
    C. implements Iterator and ArrayAccess
    D. None of the above

  • Question 228:

    Which of the following techniques ensures that a value submitted in a form can only be yes or no ?

    A. Use a select list that only lets the user choose between yes and no .
    B. Use a hidden input field that has a value of yes or no .
    C. Enable the safe_mode configuration directive.
    D. None of the above.

  • Question 229:

    What is the length of a string returned by: md5(rand(), TRUE);

    A. Depends on the value returned by rand() function
    B. 32
    C. 24
    D. 16
    E. 64

  • Question 230:

    How do you allow the caller to submit a variable number of arguments to a function?

    A. Using a prototype like function test(... $parameters).
    B. Using a prototype like function test() and the function func_get_args() inside the function body.
    C. Using a prototype like function test($parameters[]).
    D. Using a prototype like function test() and the function get_variable_args() inside the function body.
    E. This is not possible in PHP.

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.