Re: Odd array_push issue

From: Date: Wed, 11 May 2011 20:54:25 +0000
Subject: Re: Odd array_push issue
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-312774@lists.php.net to get a copy of this message
On Wed, May 11, 2011 at 1:50 PM, Peter Lind <peter.e.lind@gmail.com> 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

« previous php.general (#312774) next »