A/hen comparing prepared statements and regular, application-constructed SQL statements, which of the following is true?
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):
What is the name of the PHP function used to automatically load non-yet defined classes?
What does an object based on the Active Record pattern provide?
Which piece of code will return the ASCII value of a character?
What can prevent PHP from being able to open a file on the hard drive (Choose 3)?
After running this sort, what will be the value of $b?
$a = array('_!', 'def', 0);
$b = sort($a);
Consider the following code:
strspn($test, 'aeiou', 1);
The variable $test contains the string "You get certified".
What will the function call return?
How many elements does the $matches array contain after the following function call is performed?
preg_match('/^(\d{1,2}([a-z]+))(?:\s*)\S+ (?=200[0-9])/', '21st March
2006', $matches);
Which of the following statements about SOAP is NOT true?