- array_map: documentation ( source)
- var_dump: documentation ( source)
<?php
$array = array(
'title' => array('value1'),
'description' => array('value2'),
);
$array = array_map(function ($element) {
return $element[0];
}, $array);
var_dump($array);