Consider the following table data and PHP code. What is the outcome?
Table data (table name “users” with primary key “id”):

PHP code (assume the PDO connection is correctly established):

Which of the following items in the $_SERVER superglobal are important for authenticating the client when using HTTP Basic authentication? (Choose two.)
Consider the following two files. When you run test.php, what would the output look like?

Which of these error types may be handled by a user defined error handler function? (Choose two.)
Under what condition may HTTP headers be set from PHP if there is content echoed prior to the header function being used?
How should class MyObject be defined for the following code to work properly? Assume $array is an array and MyObject is a user-defined class.

Which of the following techniques ensures that a value submitted in a form can only be yes or no ?
Which of the following statements about anonymous functions in PHP are NOT true? (Choose two.)