200-710 Sample Questions & Answers
Object-oriented PHP, including inheritance, interfaces and traits, carries the most weight, next to basic syntax, XML, JSON, REST and SOAP, sessions, forms and cookies, input validation, file streams, regex, PDO and SQL, arrays, and exception handling.
Launch the full 200-710 simulator →Showing 10 of 20 free samples.
- Question 1
What is the output of the following code?

Show answer & explanation
Correct answer: A
A
- Question 2
What exception type will catch the error raised by the expression 2 / 0?
Show answer & explanation
Correct answer: C
C
- Question 3
Which of the following statements about SOAP are NOT true?
Show answer & explanation
Correct answer: C
C
- Question 4
Given a DateTime object that is set to the first second of the year 2017, which of the following samples will correctly return a date in the format ‘2017-01-01 00:00:01 ’?
Show answer & explanation
Correct answer: C
C
- Question 5
Under what condition may HTTP headers be set from PHP if there is content echoed prior to the header function being used?
Show answer & explanation
Correct answer: B
B
- Question 6
What is the output of the following code?

Show answer & explanation
Correct answer: B
B
- Question 7
What is the output of the following code?

Show answer & explanation
Correct answer: D
D
- Question 8
Are PHP constants case-sensitive?
Show answer & explanation
Correct answer: A
A
- Question 9
Which of the following is NOT possible using reflection?
Show answer & explanation
Correct answer: C
C
- Question 10
When would you use classes and when would you use namespaces?
Show answer & explanation
Correct answer: A
A
Ready for the real thing?
The full 200-710 simulator has every exam-style question, timed mode, and instant scoring.