Re: toString() and Object #ID

From: Date: Sun, 01 Jul 2007 11:12:43 +0000
Subject: Re: toString() and Object #ID
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-30385@lists.php.net to get a copy of this message
Hello Gwynne, no more unnecessary aliases please. marcus Sunday, July 1, 2007, 9:27:25 AM, you wrote: > On Jul 1, 2007, at 3:24 AM, Pavel Shevaev wrote: >>> > always helpful). Is there any other way than casting an object to a >>> > string to get an objects #ID? >>> >>> spl_object_hash? >> Guys, excuse my being a little offtopic here, but why not introduce >> standard "get_object_id" function in PHP6 which could be analogous to >> "spl_object_hash"? IMHO it's a basic functionality which deserves to >> be in the core... > +1 on PHP_FEALIAS()ing this. > -- Gwynne, Daughter of the Code > "This whole world is an asylum for the incurable." Best regards, Marcus

« previous php.internals (#30385) next »