[nycphp-talk] efficient array manipulation
tom at supertom.com
Thu Apr 28 17:38:50 EDT 2005
Say I have a two-dimensional array with 5000 items in it.
I need to turn an array that looks like this:
$myarray[element1]=foo (the value of the original $myarray)
I'm looking for the most efficient way possible to do this. I really
don't want to use a loop, I'm looking at array_walk now, but I'm hoping
there is a "one or two liner" that is efficient and easy.
More information about the talk