Which options do you have in PHP to set the expiry date of a session?
When uploading a file to a PHP script using the HTTP PUT method, where would the information about this file be available?
How many times will the function counter() be executed in the following code?
function counter($start, &$stop)
{
if ($stop > $start)
{
return;
} counter($start--, ++$stop);
}
$start = 5;
$stop = 2;
counter($start, $stop);
Which of the following configuration directives increase the risk of remote code injection when enabled? (Choose 2)
How can a SimpleXML object be converted to a DOM object?
What is the result of the following code?

What is the return value of the following code?
strpos("me myself and I", "m", 2)
The function mysqli_affected_rows() can be used to perform which of the following actions? (Choose 2)
When checking whether two English words are pronounced alike, which function should be used for the best possible result?
Which of the following is an invalid DOM save method?
One common security risk is exposing error messages directly in the browser. Which PHP configuration directive can be disabled to prevent this?
What is the output of the following code?
$first = "second";
$second = "first";
echo $$$first;
What can prevent PHP from being able to open a file on the hard drive (Choose 3)?
Assume that you are using PHP s session management without cookies and want to make sure that session information does not get lost when redirecting the client to another URL. Which of the following functions do you need to achieve that? (Choose 3)
