Which of the following items in the $_SERVER superglobal are important for authenticating the client when using HTTP Basic authentication? (Choose two.)
A.
PHP_AUTH_TYPE
B.
PHP_AUTH_PASSWORD
C.
PHP_AUTH_DIGEST
D.
PHP_AUTH_PW
E.
PHP_AUTH_USER
Correct Answer: D, E
Explanation not available for this question.
Question #2 (Topic: Demo Questions)
Which of these error types may be handled by a user defined error handler function? (Choose two.)
A.
E_ERROR
B.
E_NOTICE
C.
E_PARSE
D.
E_WARNING
Correct Answer: A, C
Explanation:
Question #3 (Topic: Demo Questions)
What is the output of the following code?
A.
string(0) “”
B.
bool(false)
C.
string(1) “!”
D.
string(2) “k!”
Correct Answer: C
Explanation not available for this question.
Question #4 (Topic: Demo Questions)
Consider 3 PHP files that are called asynchronously via XmlHttpRequest:
Which of the following statements is true? (Choose two.)
A.
The total execution time for all 3 requests will be the maximum of the longest sleep()call
B.
The requests may be processed out of order
C.
The requests are guaranteed to be executed in order
D.
Concurrent requests will be blocked until the session lock isreleased