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 is NOT possible using reflection?
What is the output of the following code?
What is the method used to execute XPath queries in the SimpleXML extension?
What is the benefit of using persistent database connections in PHP? (Choose two.)
One common security risk is exposing error messages directly in the browser. Which PHP configuration directive can be disabled to prevent this?
Which PHP function sets a cookie and URL encodes its value when sending it to the browser?
Which of the following is NOT true about PHP traits? (Choose two.)
What is the output of the following code?
Which of the following statements about anonymous functions in PHP are NOT true? (Choose two.)
You work for a shared hosting provider, and your supervisor asks you do disable user scripts to dynamically load PHP extensions using the d1() function. How can you do this? (Choose two.)