200-710 practice question 29 of 30

How many times will the function counter() be executed in the following code? function counter($start, &$stop) { if ($stop > $start) { return; }…

Choose your answer, then check it against the explanation.

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);
Answer options
Question 29 of 30

Keep practicing

Take the free 200-710 practice test

Ten exam-style questions with answers and explanations, plus the exam facts and study guides.

Start the free practice test

More questions

Other 200-710 practice questions

Scroll to Top