PHP One level deeper in array each loop made

前端 未结 4 2103
旧巷少年郎
旧巷少年郎 2021-01-15 17:49

I\'m trying to loop through one array, adding a new level to another array each time. Let me illustrate - variable $arr\'s values are different each time

$ar         


        
4条回答
  •  滥情空心
    2021-01-15 18:05

    I may be wrong, but I think you are asking the same as this question: Multidimensional Arrays Nested to Unlimited Depth

提交回复
热议问题