There is no built in function for taking a multi dimensional array in PHP and flattening it into a single array. However, it's pretty easy to accomplish in a one liner. Here is the code
<?php $a = [['a', 'b', 'c'], ['1', '2', '3']]; $b = array_merge(...array_values($a)); // => ['a', 'b', 'c', '1', '2', '3']
This only works for PHP ~> 7
Just finishing up brewing up some fresh ground comments...