Re: [PHP] Re: unexpected array_diff output

2004-04-30 Thread Torsten Roehr
"Frederic Noyer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > On 30 avr. 04, at 11:31, Torsten Roehr wrote: > > > "Frederic Noyer" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > >> > >> On 30 avr. 04, at 11:00, Torsten Roehr wrote: > > >>> > >>> I think th

Re: [PHP] Re: unexpected array_diff output

2004-04-30 Thread Frederic Noyer
On 30 avr. 04, at 11:31, Torsten Roehr wrote: "Frederic Noyer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 30 avr. 04, at 11:00, Torsten Roehr wrote: I think this is correct because the 3 key/value pairs from the first array are NOT in the second one. I think the combination of

Re: [PHP] Re: unexpected array_diff output

2004-04-30 Thread Torsten Roehr
"Frederic Noyer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > On 30 avr. 04, at 11:00, Torsten Roehr wrote: > >> > > > > I think this is correct because the 3 key/value pairs from the first > > array > > are NOT in the second one. I think the combination of key and value are > >

Re: [PHP] Re: unexpected array_diff output

2004-04-30 Thread Frederic Noyer
On 30 avr. 04, at 11:00, Torsten Roehr wrote: I think this is correct because the 3 key/value pairs from the first array are NOT in the second one. I think the combination of key and value are relevant for array_diff(). As I have understand only the array_diff_assoc function does that. see php.ne

Re: [PHP] Re: unexpected array_diff output

2004-04-30 Thread Frederic Noyer
On 30 avr. 04, at 11:00, Torsten Roehr wrote: "Frederic Noyer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hello there ! I am trying to fill and then compare two arrays: one filled by a foreach construct, and the second by a while construct. I check both with a print_r to be sure t

[PHP] Re: unexpected array_diff output

2004-04-30 Thread Torsten Roehr
"Frederic Noyer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello there ! > I am trying to fill and then compare two arrays: one filled by a > foreach construct, and the second by a while construct. > I check both with a print_r to be sure that both are correctly filled > (which