单选题

在下面的代码中,第2个test输出结果为__________。 <?php function test { static $n=5; $n++; echo $n; } $n=10; test; test;

  1. A. 6
  2. B. 7
  3. C. 11
  4. D. 12

参考答案与解析需登录后查看

搜索本题查看答案 →

相似题目