Re: Odd array_push issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 11, 2011 at 1:50 PM, Peter Lind <peter.e.lind@xxxxxxxxx> wrote:

> I'd say there's a problem in your code. Check where you might be using
> references, chances are you're using one somewhere and not unsetting
> it afterwards.
>

Also make sure that the code that receives the final array isn't modifying
the objects in a way to make it *appear* that you have the same object
multiple times when in fact you have multiple unique instances containing
duplicate values.

David

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux