What will be the output of the following code?
<?php function track() { static $count = 0; $count++; echo $count; } track(); track(); track(); ?>
(a).123
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
(a).123
need an explanation for this answer? contact us directly to get an explanation for this answer