Re: toString() and Object #ID

From: Date: Mon, 02 Jul 2007 18:33:56 +0000
Subject: Re: toString() and Object #ID
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-30411@lists.php.net to get a copy of this message
Hmm. I think what Pavel is asking is just to make it clearer in the documentation what spl_object_hash's purpose and workings are, and perhaps make an alias to it named object_get_id so other people don't run into this confusion in the future. The name of spl_object_hash and the fact it is in the SPL and not in the engine does lead one to believe that it might do more than simply hashing the handler table and handle tuple. People might think it hashes the properties as well.
Exactly, this is what I wanted to say, thanks ;)
David
-- Best regards, Pavel

« previous php.internals (#30411) next »