$singleArray = []; foreach ($parentArray as $childArray) { foreach ($childArray as $value) { $singleArray[] = $value; } }