<?php$x = 0;function fun(){ echo $GLOBALS['x']; $x++;}fun();fun();fun();?>
<?php
$x = 0;
function fun()
{
echo $GLOBALS['x'];
$x++;
}
fun();
?>
000
012
Nothing
Error
View Answer
Workspace
Share
Copy Text
Copy URL
Answer : Option A
Explanation :
This question is similar to question 6.
Be The First To Comment