200-710

200-710 practice questions, page 3 of 4, with answer review and explanations.

Question 11

What is the output of this code?

  1. hello world
  2. hello $world
  3. PHP Parser error

Question 12

What is the output of the following code?

  1. false-false
  2. false-true
  3. true-false
  4. 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.)

  1. PHP_AUTH_TYPE
  2. PHP_AUTH_PASSWORD
  3. PHP_AUTH_DIGEST
  4. PHP_AUTH_PW
  5. PHP_AUTH_USER

Question 14

What is the length of a string returned by: md5(rand(). TRUE);

  1. Depends on the value returned by rand() function
  2. 32
  3. 24
  4. 16
  5. 64

Question 15

Which of these error types may be handled by a user defined error handler function? (Choose two.)

  1. E_ERROR
  2. E_NOTICE
  3. E_PARSE
  4. E_WARNING