Exam Details

  • Exam Code
    :200-710
  • Exam Name
    :Zend Certified Engineer
  • Certification
    :Zend Certifications
  • Vendor
    :Zend
  • Total Questions
    :233 Q&As
  • Last Updated
    :Apr 14, 2025

Zend Zend Certifications 200-710 Questions & Answers

  • Question 171:

    What is the return value of the following code: substr_compare("foobar", "bar", 3);

    A. -1

    B. 1

    C. TRUE

    D. 0

    E. FALSE

  • Question 172:

    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.

  • Question 173:

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

    An HTML form contains this form element:

    When this form is submitted, the following PHP code gets executed:

    move_uploaded_file(

    $_FILES['myFile']['tmp_name'],

    'uploads/' . $_FILES['myFile']['name']

    );

    Which of the following actions must be taken before this code may go into production? (Choose 2)

    A. Check with is_uploaded_file() whether the uploaded file $_FILES['myFile']['tmp_name'] is valid

    B. Sanitize the file name in $_FILES['myFile']['name'] because this value is not consistent among web browsers

    C. Check the charset encoding of the HTTP request to see whether it matches the encoding of the uploaded file

    D. Sanitize the file name in $_FILES['myFile']['name'] because this value could be forged

    E. Use $HTTP_POST_FILES instead of $_FILES to maintain upwards compatibility

  • Question 175:

    What is the difference between "print" and "echo"?

    A. There is no difference.

    B. Print has a return value, echo does not

    C. Echo has a return value, print does not

    D. Print buffers the output, while echo does not

    E. None of the above

  • Question 176:

    What will be the result of the following operation?

    $a = array_merge([1,2,3] + [4=>1,5,6]);

    echo $a[2];

    A. 4

    B. 3

    C. 2

    D. false

    E. Parse error

  • Question 177:

    Which string will be returned by the following function call?

    $test = '/etc/conf.d/wireless';

    substr($test, strrpos($test, '/')); // note that strrpos() is being called, and not strpos()

    A. ""

    B. "/wireless"

    C. "wireless"

    D. "/conf.d/wireless"

    E. "/etc"

  • Question 178:

    Your public web application needs to provide access to binary files for registered users only. How would you achieve this?

    A. Host the files on a public external file sharing service.

    B. Redirect to the file which resides in the server's document root

    C. Use PHP to send the file to the client, using the header() function to set appropriate HTTP headers

    D. PHP is used for service HTML content, not binary content

  • Question 179:

    Which line of code can be used to replace the INSERT comment in order to output "hello"?

    class C {

    public $ello = 'ello';

    public $c;

    public $m;

    function __construct($y) {

    $this->c = static function($f) {

    // INSERT LINE OF CODE HERE

    };

    $this->m = function() {

    return "h";

    };

    }

    }

    $x = new C("h");

    $f = $x->c;

    echo $f($x->m);

    A. return $this->m() . "ello";

    B. return $f() . "ello";

    C. return "h". $this->ello;

    D. return $y . "ello";

  • Question 180:

    PHP's array functions such as array_values() can be used on an object if the object...

    A. implements Traversable

    B. is an instance of ArrayObject

    C. implements ArrayAccess

    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.