Re: hash table guidance?

From: Date: Wed, 02 Nov 2011 17:45:32 +0000
Subject: Re: hash table guidance?
References: 1 2  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-8794@lists.php.net to get a copy of this message
Em Wed, 02 Nov 2011 17:41:40 -0000, Gustavo Lopes <glopes@nebm.ist.utl.pt> escreveu:
For objects, you can compare the ids (if you're interesting in identity, not equality).
Just a correction – you have to compare the whole zend_object_value, not only the id (handle), but also the handlers pointer. It's possible (though not common), that an object reference has an handle (numeric id) to objects stored elsewhere. -- Gustavo Lopes

« previous php.pecl.dev (#8794) next »