200-710 practice questions, page 3 of 4, with answer review and explanations.
Question 11
What is the output of this code?
hello world
hello $world
PHP Parser error
Question 12
What is the output of the following code?
false-false
false-true
true-false
true-true
Question 13
Which of the following items in the $_SERVER superglobal are important for authenticating the client when using HTTP Basic authentication? (Choose two.)
PHP_AUTH_TYPE
PHP_AUTH_PASSWORD
PHP_AUTH_DIGEST
PHP_AUTH_PW
PHP_AUTH_USER
Question 14
What is the length of a string returned by: md5(rand(). TRUE);
Depends on the value returned by rand() function
32
24
16
64
Question 15
Which of these error types may be handled by a user defined error handler function? (Choose two.)