Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30383 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78421 invoked by uid 1010); 1 Jul 2007 07:27:35 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 78404 invoked from network); 1 Jul 2007 07:27:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jul 2007 07:27:35 -0000 Authentication-Results: pb1.pair.com smtp.mail=gwynne@wanderingknights.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=gwynne@wanderingknights.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain wanderingknights.org from 208.97.132.83 cause and error) X-PHP-List-Original-Sender: gwynne@wanderingknights.org X-Host-Fingerprint: 208.97.132.83 sd-green-bigip-83.dreamhost.com Linux 2.4/2.6 Received: from [208.97.132.83] ([208.97.132.83:46368] helo=postalmail-a5.g.dreamhost.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 83/40-10497-56757864 for ; Sun, 01 Jul 2007 03:27:34 -0400 Received: from [192.168.2.197] (c-24-61-79-221.hsd1.ma.comcast.net [24.61.79.221]) by postalmail-a5.g.dreamhost.com (Postfix) with ESMTP id A4C6CBEF34 for ; Sun, 1 Jul 2007 00:27:28 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: References: <468519DC.8060502@widescreen.ch> <4685785E.5010709@zend.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID: <8FA880A0-7C60-440F-AD12-9B9C1613F6D2@wanderingknights.org> Content-Transfer-Encoding: 7bit Date: Sun, 1 Jul 2007 03:27:25 -0400 To: php-dev List X-Mailer: Apple Mail (2.752.3) Subject: Re: [PHP-DEV] toString() and Object #ID From: gwynne@wanderingknights.org (Gwynne Raskind) 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."