Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30385 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44105 invoked by uid 1010); 1 Jul 2007 11:12:51 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 44090 invoked from network); 1 Jul 2007 11:12:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jul 2007 11:12:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.214.94.56 as permitted sender) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.94.56 aixcept.net Linux 2.6 Received: from [85.214.94.56] ([85.214.94.56:34418] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 24/11-32240-23C87864 for ; Sun, 01 Jul 2007 07:12:51 -0400 Received: from [192.168.2.102] (p50864220.dip.t-dialin.net [80.134.66.32]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id 0A7A51B3612; Sun, 1 Jul 2007 13:12:46 +0200 (CEST) Date: Sun, 1 Jul 2007 13:12:43 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <63109541.20070701131243@marcus-boerger.de> To: Gwynne Raskind CC: php-dev List In-Reply-To: <8FA880A0-7C60-440F-AD12-9B9C1613F6D2@wanderingknights.org> References: <468519DC.8060502@widescreen.ch> <4685785E.5010709@zend.com> <8FA880A0-7C60-440F-AD12-9B9C1613F6D2@wanderingknights.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] toString() and Object #ID From: helly@php.net (Marcus Boerger) 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