- var_dump: documentation ( source)
- array_merge: documentation ( source)
- array_values: documentation ( source)
<?php
$buffer = [
[
'test' => '1',
'test1' => '2',
],
[
'test' => '3',
'test1' => '4',
]
];
var_dump(
array_merge(...array_values($buffer)),
);