Re: [PHP-DEV] Re: Behaviour of $array1 + $array2

2002-01-11 Thread Markus Fischer
I filled a bug report (doc problem) now. -- Please always Cc to me when replying to me on the lists. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail

Re: [PHP-DEV] Re: Behaviour of $array1 + $array2

2002-01-11 Thread Philip Olson
Here's an example of related activities (4.1.1): '4 a', 2 => '2 a', 'foo' => 'foo a'); $b = array(4 => '4 b', 1 => '1 b', 'foo' => 'foo b'); $c['plus'] = $a + $b; $c['merge']= array_merge($a,$b); $c['merge_recursive'] = array_merge_recursive($a,$b); $c['concat

Re: [PHP-DEV] Re: Behaviour of $array1 + $array2

2002-01-10 Thread Zak Greant
On 2002-10-01 21:28, Markus Fischer wrote: > On Thu, Jan 10, 2002 at 05:58:28PM -0700, Zak Greant wrote : [cut] > > Also, there have been discussions on Dev about this issue before. > > Might be a bit tough to find though. :) > > Hmm .. well, at least, it should be clearly documented. I

Re: [PHP-DEV] Re: Behaviour of $array1 + $array2

2002-01-10 Thread Markus Fischer
On Fri, Jan 11, 2002 at 01:28:32PM +0900, Yasuo Ohgaki wrote : > Markus Fischer wrote: > > >On Thu, Jan 10, 2002 at 05:58:28PM -0700, Zak Greant wrote : > > > >>On 2002-10-01 17:33, Yasuo Ohgaki wrote: > >> > >>>Markus Fischer wrote: > >>> > Can someone point me where the following behaviou

Re: [PHP-DEV] Re: Behaviour of $array1 + $array2

2002-01-10 Thread Yasuo Ohgaki
Markus Fischer wrote: > On Thu, Jan 10, 2002 at 05:58:28PM -0700, Zak Greant wrote : > >>On 2002-10-01 17:33, Yasuo Ohgaki wrote: >> >>>Markus Fischer wrote: >>> Can someone point me where the following behaviour is documented: $ php -q >>>$foo = array(27 => 'Ene');

Re: [PHP-DEV] Re: Behaviour of $array1 + $array2

2002-01-10 Thread Markus Fischer
On Thu, Jan 10, 2002 at 05:58:28PM -0700, Zak Greant wrote : > On 2002-10-01 17:33, Yasuo Ohgaki wrote: > > Markus Fischer wrote: > > > Can someone point me where the following behaviour is documented: > > > > > > $ php -q > > > > > $foo = array(27 => 'Ene'); > > > $bar = array(-

[PHP-DEV] Re: Behaviour of $array1 + $array2

2002-01-10 Thread Markus Fischer
On Fri, Jan 11, 2002 at 09:33:59AM +0900, Yasuo Ohgaki wrote : > Markus Fischer wrote: > > >Can someone point me where the following behaviour is documented: > > > >$ php -q > > >$foo = array(27 => 'Ene'); > >$bar = array(-1 => 'Mene'); > > > >$baz = $foo + $bar; > > > >

[PHP-DEV] Re: Behaviour of $array1 + $array2

2002-01-10 Thread Steve Meyers
Yasuo Ohgaki wrote: > Markus Fischer wrote: > >> Can someone point me where the following behaviour is documented: >> >> $ php -q >> > $foo = array(27 => 'Ene'); >> $bar = array(-1 => 'Mene'); >> >> $baz = $foo + $bar; >> >> var_dump($baz); >> ?> >> array(2

Re: [PHP-DEV] Re: Behaviour of $array1 + $array2

2002-01-10 Thread Zak Greant
On 2002-10-01 17:33, Yasuo Ohgaki wrote: > Markus Fischer wrote: > > Can someone point me where the following behaviour is documented: > > > > $ php -q > > > $foo = array(27 => 'Ene'); > > $bar = array(-1 => 'Mene'); > > > > $baz = $foo + $bar; > > > > var_dump($baz);

[PHP-DEV] Re: Behaviour of $array1 + $array2

2002-01-10 Thread Yasuo Ohgaki
Markus Fischer wrote: > Can someone point me where the following behaviour is documented: > > $ php -q > $foo = array(27 => 'Ene'); > $bar = array(-1 => 'Mene'); > > $baz = $foo + $bar; > > var_dump($baz); > ?> > array(2) { > [27]=> > string(3)