Zend Certified Engineer

Here you have the best Zend 200-710 practice exam questions

  • You have 79 total questions to study from
  • Each page has 5 questions, making a total of 16 pages
  • You can navigate through the pages using the buttons at the bottom
  • This questions were last updated on November 18, 2025
  • This site is not affiliated with or endorsed by Zend.
Question 1 of 79
Consider the following two files. When you run test.php, what would the output look like?
Exam 200-710: Question 1 - Image 1
    Correct Answer: B

    When running test.php, the included file MyString.php defines a namespaced version of the strlen function, which does not interfere with the global strlen function. Therefore, when test.php calls strlen("Hello world!"), it uses the global strlen function, producing a length of 12. In MyString.php, strlen("Hello world!") uses the namespaced strlen function which returns double the length of the string, resulting in 24. Hence, the output is 12, followed by 24.

Question 2 of 79
Youd like to use the class MyDBConnection thats defined in the MyGreatFramework\MyGreatDatabaseAbstractionLayer namespace, but you want to minimize
*as much as possible* the length of the class name you have to type. What would you do?
    Correct Answer: C

    To minimize the length of the class name you have to type as much as possible, it is best to alias MyGreatFramework\MyGreatDatabaseAbstractionLayer\MyDBConnection to a shorter name. This way, you can use the shorter alias instead of the full class name, providing the greatest reduction in length.

Question 3 of 79
You want to parse a URL into its single parts. Which function do you choose?
    Correct Answer: A

Question 4 of 79
What is the output of the following code?
Exam 200-710: Question 4 - Image 1
    Correct Answer: A

    The output of the code is 'This is text'. This is because the code uses a 'heredoc' syntax in PHP, which allows the definition of multiline strings. The line $text1 = <<<‘TEXT’ $text TEXT; assigns the value of the variable $text (which is 'This is text') to $text1. Then, $text2 = <<

Question 5 of 79
What function can be used to retrieve an array of current options for a stream context?
    Correct Answer: C