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