Question:
function my_function(){
  static $count=1;
  $count++;
  echo $count;
  echo "<br/>";
}

my_function();
my_function();
my_function();
What will be the correct out of the above static syntax? 

A 2 3 4 

B 1 2 3 

C 1 1 1 

D 2 2 2 

+ Answer
+ Report
Total Preview: 323

Copyright © 2024. Powered by Intellect Software Ltd