zhanglim2
新手上路

UID 76716
精华
0
积分 2
帖子 1
金钱 2 喜悦币
威望 0
人脉 0
阅读权限 10
注册 2006-7-19
状态 离线
|
问个问题
function to_pow($n1,$n2)
{
if($pow)
return $n1*to_pow($n1,$pow-1);
return 1;
}
上面是个函数!
然后print(to_pow(6,10)."<br/>");的时候返回是1;那么 if($pow)
return $n1*to_pow($n1,$pow-1);
是什么意思啊??
|
|