[单选题]在下面的代码中,第2个test()输出结果为_____。 <?php function test(){ static $n=5; $n++; echo $n; } $n=10; test(); test();
广开题库
|
2023-11-01 15:20:08
|
23
[单选题]在下面的代码中,第2个test()输出结果为_____。 <?php function test(){ static $n=5; $n++; echo $n; } $n=10; test(); test();

A.6
B.11
C.7
D.12
查看答案

广东开放大学

形成性考核

您可能感兴趣的试题
TOP