Remove first levels of identifier in array

前端 未结 7 991
天涯浪人
天涯浪人 2020-12-15 11:25

I think this has been up before, but could\'nt find any answer to it. If it\'s already answered please point me in the right direction with a link.

I have an array t

相关标签:
7条回答
  • 2020-12-15 11:59

    Try to merge array with splat operator:

       print_r(array_merge(...$array));
    
    0 讨论(0)
提交回复
热议问题