Re: [PHP] Re: array_map() with multiple callback functions

2013-05-08 Thread George Langley
On 2013-05-08, at 1:48 PM, Jim Giner wrote: > On 5/7/2013 5:29 PM, George Langley wrote: >> Hi all. I want to apply strtolower() AND trim() to all items in an array. >> But I don't see a way to call multiple callbacks with the array_map() >> function. >> Are my two choices the following: >> >>

[PHP] Re: array_map() with multiple callback functions

2013-05-08 Thread Jim Giner
On 5/7/2013 5:29 PM, George Langley wrote: Hi all. I want to apply strtolower() AND trim() to all items in an array. But I don't see a way to call multiple callbacks with the array_map() function. Are my two choices the following: // 1) nesting two array_map() calls $cleanData = array_map('trim