Consider the following XML code:
Which of the following SimpleXML calls prints the name of the second book?
(Let $xml = simplexml_load_file("books.xml"); .) (Choose 2)
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);
Given the default PHP configuration, how can all of the parameters provided via GET be accessed in a form of a string?
PHP's array functions such as array_values() can be used on an object if the object...