Ho un array che assomiglia a
$numbers = array('first', 'second', 'third');
Voglio avere una funzione che prenda questo array come input e restituisca un array che assomigli a:
array(
'first' => 'first',
'second' => 'second',
'third' => 'third'
)
Mi chiedo se sia possibile usare array_walk_recursiveo qualcosa di simile ...