Home > PHP & Programming > Quizzes > 200-710: Zend Certified Engineer Exam
200-710: Zend Certified Engineer Exam
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 16% Most missed: “What is the output of the following code?”
200-710: Zend Certified Engineer Exam
Time left 00:00
25 Questions

1. Which of the following statements about anonymous functions in PHP are NOT true? (Choose two.)
2. Consider the following table data and PHP code. What is the outcome? Table data (table name
3. Assuming UTF-8 encoding, what is the value of $count? $data ==
4. You want to parse a URL into its single parts. Which function do you choose?
5. Which methods can be used to overload object properties? (Choose two.)
6. What is the length of a string returned by: md5(rand(). TRUE);
7. Which of the following is NOT true about PHP traits? (Choose two.)
8. What Content-Type HTTP header value is required when sending an HTTP POST request using JavaScript to ensure that PHP can access the data?
9. What is the output of the following code?
10. After performing the following operations: What will be the value of $a?
11. Which class of HTTP status codes is used for server error conditions?
12. In a shared hosting environment, session data can be read by PHP scripts written by any user. How can you prevent this? (Choose two.)
13. What function is best suited for extracting data from a formatted string into an array?
14. Given the following array: Which function will remove the value 28 from $a?
15. When would you use classes and when would you use namespaces?
16. What function can be used to retrieve an array of current options for a stream context?
17. Which options do you have in PHP to set the expiry date of a session?
18. One common security risk is exposing error messages directly in the browser. Which PHP configuration directive can be disabled to prevent this?
19. What will the following function call print?
20. What method can be used to find the tag via the DOM extension?
21. Which of the following are valid code snippets? (Choose three.)
22. What is the output of the following code?
23. Is the following code vulnerable to SQL Injection where ($mysqli is an instance of the MySQLi class)?
24. Which of the following techniques ensures that a value submitted in a form can only be yes or no?
25. Which of the following are NOT acceptable ways to create a secure password hash in PHP? (Choose two.)