Re: how to join two arrays? [message #185715 is a reply to message #185714] |
Sun, 04 May 2014 19:17 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 5/4/2014 1:56 PM, Thomas 'PointedEars' Lahn wrote:
> Denis McMahon wrote:
>
>> then: array_merge ( $arr1, $arr2 );
>>
>> will generate:
>>
>> [0] "."
>> [1] ".."
>> [2] "foo.bar"
>> [3] "really fubar"
>> [4] "."
>> [5] ".."
>> [6] "bah bah.blacksheep"
>> [7] "fufu.fubar"
>>
>> How you then tell which file is where, that's your headache at this point.
>
> array_map() serves here.
>
>
> PointedEars
>
And how can array_map() tell which file is where?
--
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex(at)attglobal(dot)net
==================
|
|
|