<?phpfunction calc(){ $n = 5; echo $n; $n++;}calc();calc();calc();?>
Every time the function is called the value of n becomes 5, therefore we get 5 on every function call.
Previous Question Next Question
Your comments will be displayed only after manual approval.