Sail E0 Webinar
Question
What will be the output of the following PHP code ?static $x = 0;function fun() {echo $x;$x++;}fun();fun();fun();
Options:
A .  Error
B .  Nothing
C .  012
D .  123
Answer: Option B

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers