Home >Backend Development >PHP Tutorial > 为何递归不起作用? 郁闷了
为什么递归不起作用? 郁闷了
<br> Array<br> (<br> [0] => Array<br> (<br> [0] => 1<br> [catid] => 1<br> [1] => 0<br> [parentid] => 0<br> [2] => 关于我们<br> [catname] => 关于我们<br> [3] => 4<br> [listorder] => 4<br> [4] => 0<br> [items] => 0<br> [5] => 1<br> [type] => 1<br> [child] => Array<br> (<br> [0] => Array<br> (<br> [0] => 2<br> [catid] => 2<br> [1] => 1<br> [parentid] => 1<br> [2] => 关于我们<br> [catname] => 关于我们<br> [3] => 1<br> [listorder] => 1<br> [4] => 0<br> [items] => 0<br> [5] => 1<br> [type] => 1<br> )<br> <br> [1] => Array<br> (<br> [0] => 3<br> [catid] => 3<br> [1] => 1<br> [parentid] => 1<br> [2] => 公司荣誉<br> [catname] => 公司荣誉<br> [3] => 2 <div class="clear"> </div>