Re: toString() and Object #ID
| From: | Richard Lynch | Date: | Fri, 06 Jul 2007 04:01:49 +0000 |
| Subject: | Re: toString() and Object #ID | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-30478@lists.php.net to get a copy of this message | ||
On Sun, July 1, 2007 2:50 pm, Sebastian Bergmann wrote:
> Pavel Shevaev schrieb:
>> What I actually need, not the object hash but simply its unique id.
>
> The problem is that there is no such unique id in the current engine.
How does PHP internally distinguish it?
Surely it has some kind of pointer/address thingie...
I don't think a developer CARES what the ID is (or isn't) or what it
looks like, so long as it's reasonably short and fast to access, and
it's not something that's only available sometimes on some systems.
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?