Correcting teacher:PHPz
Correction status:unqualified
Teacher's comments:写的递归函数是一个死循环,作业应该注释如何跳出当前的递归循环
function a(int $a,int $b)
{
return $a+$b;
}
$c=call_user_func('a',1,2)
{
echo $c;
}
function a()
{
static $b=0;
if ($b<10):
echo $b;
a();
endif;
}
$c=a();
echo $c;