What will be the output of the following PHP code ?
<?php $x=0; function fun() { echo $GLOBALS['x']; $GLOBALS['x']++; } fun(); fun(); fun(); ?>
(b).012
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.
(b).012
need an explanation for this answer? contact us directly to get an explanation for this answer