You have a variable $test that contains sub-strings divided by a dash ("-"). How can you put every sub-string into an array element easily?
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);
What is the output of the following code: echo "1" + 2 * "0x02";