- var_dump: documentation ( source)
- array_merge: documentation ( source)
<?php
$wrap = array(
array(
array("content" => "GrĂ¼ne Logistik", "date" => "2014-04-02 14:08:52"),
array("content" => "bellomondo ist klimaneutral", "date" => "2014-03-06 09:15:59"),
),
array(
array("content" => "en test post title", "date" => "2014-04-07 15:31:19"),
),
);
//$sorted = array();
//foreach($wrap as $content) {
// $sorted[] = $content;
//}
$sorted = call_user_func_array('array_merge', $wrap);
var_dump($sorted);
?>