Question 1
What is the output of the following code?

Answer and explanation
Correct answer: B
B
Covers PHP syntax, operators and functions, XML, JSON and REST/SOAP formats, sessions, forms and cookies, object-oriented programming, input validation and security, file I/O, and SQL.
20 free sample questions262 in the full practice test

What is the output of the following code?

Correct answer: B
B
An unbuffered database query will (choose two):
Correct answers: A, D
A, D
One common security risk is exposing error messages directly in the browser. Which PHP configuration directive can be disabled to prevent this?
Correct answer: C
C
What is the output of the following code?
Correct answer: C
C
What is the difference between the spaceship operator ( ) and the strcmpO function?
Correct answer: D
D
What is the output of the following code?

Correct answer: A
A
What exception type will catch the error raised by the expression 2 / 0?
Correct answer: C
C
Which of the following statements about SOAP are NOT true?
Correct answer: C
C
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 ’?
Correct answer: C
C
Under what condition may HTTP headers be set from PHP if there is content echoed prior to the header function being used?
Correct answer: B
B

Or unlock all 262 200-710 questions with explanations, timed mode and flashcards.