摘要: function test($a=0,&$result=array()){ $a++; if ($a<10) { $result[]=$a; test($a,$result); } echo $a; return $result; 上面的例子非常简单,以a<10作为判断条件,条件成立,则把a赋给re 阅读全文
posted @ 2020-05-26 10:00 御世制人 阅读(133) 评论(0) 推荐(0) 编辑