Re: Passing arguments to an internal function via array_map

From: Date: Thu, 10 Nov 2011 18:19:32 +0000
Subject: Re: Passing arguments to an internal function via array_map
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-315630@lists.php.net to get a copy of this message
> You need to pass a second and third array to array_map() with the same number of elements as > the first array. The arguments to the callback function are the elements from each array at the same > offset. Wow, thanks for the clarification. I've decided to create my own function and use that instead both because I found that there is some other cleaning to do to the string and that code you posted is way too convoluted to read! :) Marc

« previous php.general (#315630) next »