Re: Object ID

From: Date: Thu, 15 Feb 2007 00:06:46 +0000
Subject: Re: Object ID
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-248891@lists.php.net to get a copy of this message
Every dump of the same node will produce the same #id. Cloned object, is a separated new object which will have a different id. The spl_object_hash function produces such an id too (32 hex chars), which doesn't change if you change the object members. Richard Lynch wrote:
I suspect that's not an "absolute" ID, but just an ID for that particular dump. So it has no applicability beyond that dump...


« previous php.general (#248891) next »