onezeronull.com
Fastest way to flatten two-dimension array?
Among many different ways to flatten multidimensional array, I found this one as the cleanest one: $result = call_user_func_array(‘array_merge’, $array); It works for two-dimension arra…