Q. What will be the output of the following code?
Code:
<?php
function track()
{
static $count = 0;
$count++;
echo $count;
}
track();
track();
track();
?>
β
Correct Answer: (A)
123