Re: toString() and Object #ID
| From: | Pavel Shevaev | Date: | Sun, 01 Jul 2007 07:24:00 +0000 |
| Subject: | Re: toString() and Object #ID | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-30382@lists.php.net to get a copy of this message | ||
On 6/30/07, Stanislav Malyshev <stas@zend.com> 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... -- Best regards, Pavel