Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30478 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60549 invoked by uid 1010); 6 Jul 2007 04:02:54 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 60517 invoked from network); 6 Jul 2007 04:02:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jul 2007 04:02:53 -0000 Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain l-i-e.com from 67.139.134.202 cause and error) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:1968] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 36/54-26602-AEEBD864 for ; Fri, 06 Jul 2007 00:02:52 -0400 Received: (qmail 97523 invoked by uid 98); 6 Jul 2007 04:01:49 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-2.01 (clamdscan: 0.88.7/3603. Clear:RC:1(127.0.0.1):. Processed in 0.06828 secs); 06 Jul 2007 04:01:49 -0000 Received: from localhost (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 6 Jul 2007 04:01:49 -0000 Received: from 24.1.37.132 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Thu, 5 Jul 2007 23:01:49 -0500 (CDT) Message-ID: <2191.24.1.37.132.1183694509.squirrel@www.l-i-e.com> In-Reply-To: References: <468519DC.8060502@widescreen.ch> <4685785E.5010709@zend.com> <585221804.20070701154538@marcus-boerger.de> Date: Thu, 5 Jul 2007 23:01:49 -0500 (CDT) To: "Sebastian Bergmann" Cc: internals@lists.php.net Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] toString() and Object #ID From: ceo@l-i-e.com ("Richard Lynch") 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?