Briefing Zend Knowledge

How many times will the function counter() be executed in the following code?

How many times will the function counter() be executed in the following code?

<code>
function counter($start, &$stop)
{
if ($stop > $start)
{
return;
} counter($start–, ++$stop);
}
$start = 5;
$stop = 2;
counter($start, $stop);
</code>

A.
3

B.
4

C.
5

D.
6