Re: [PHP] Array concatenation behaviour change

2004-10-08 Thread rich gray
> > Can't you sort the array? > > > Yes of course but that wasn't the point of my post I was trying to show that the same code produces differing results on 2 different versions of PHP ... rich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

Re: [PHP] Array concatenation behaviour change

2004-10-08 Thread Gareth Williams
Can't you sort the array? On 8 Oct 2004, at 10:41, rich gray wrote: Just a heads up on this change in array concatenation behaviour that could cause a few probs for some people... 'Zero'); $arr2 = array(1 => 'One',2 => 'Two'); $arr2 = $arr1 + $arr2; echo phpversion().''; print_r($arr2); ?> this co

[PHP] Array concatenation behaviour change

2004-10-08 Thread rich gray
Just a heads up on this change in array concatenation behaviour that could cause a few probs for some people... 'Zero'); $arr2 = array(1 => 'One',2 => 'Two'); $arr2 = $arr1 + $arr2; echo phpversion().''; print_r($arr2); ?> this code produces on our provider's server... 4.2.3 Array ( [0] => Zer