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

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