I have an array that looks like
$numbers = array('first', 'second', 'third');
I want to have a function that will take this array as input and return an array that will look like this:
array( 'first' => 'first', 'second' => 'second', 'third' => 'third' )
I wonder if array_walk_recursive or something like that can be used ...
arrays php
jimiyash Jul 01 '09 at 1:09 2009-07-01 01:09
source share