Re: how to join two arrays? [message #185718 is a reply to message #185717] |
Sun, 04 May 2014 21:02 |
Thomas 'PointedEars'
Messages: 701 Registered: October 2010
Karma:
|
Senior Member |
|
|
Jerry Stuckle wrote:
> On 5/4/2014 3:47 PM, Thomas 'PointedEars' Lahn wrote:
>> Jerry Stuckle wrote:
>>> 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.
>>>
>>> And how can array_map() tell which file is where?
>>
>> It cannot.
>
> Then why did you say it could?
I did not.
PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f806at$ail$1$8300dec7(at)news(dot)demon(dot)co(dot)uk>
|
|
|