Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23896 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29727 invoked by uid 1010); 4 Jun 2006 00:43:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 29712 invoked from network); 4 Jun 2006 00:43:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jun 2006 00:43:10 -0000 X-PHP-List-Original-Sender: bertrand@toggg.com X-Host-Fingerprint: 212.27.42.27 smtp1-g19.free.fr Linux 2.5 (sometimes 2.4) (4) Received: from ([212.27.42.27:44310] helo=smtp1-g19.free.fr) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id B1/E3-49656-D9C22844 for ; Sat, 03 Jun 2006 20:43:10 -0400 Received: from [192.168.0.3] (lns-bzn-58-82-251-224-199.adsl.proxad.net [82.251.224.199]) by smtp1-g19.free.fr (Postfix) with ESMTP id 526C790561; Sun, 4 Jun 2006 02:43:03 +0200 (CEST) Message-ID: <44822D24.7040407@toggg.com> Date: Sun, 04 Jun 2006 02:45:24 +0200 Reply-To: bertrand@toggg.com User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc3 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gwynne CC: internals@lists.php.net References: <795156743.20060603134212@marcus-boerger.de> <18CE805D-C032-4B64-950A-119E46287AF5@prohost.org> <4481B92E.2030802@lerdorf.com> <4481C354.10207@lerdorf.com> <4AC4FA24-6E74-492A-A3CF-DD75CF26390C@skytag.com> In-Reply-To: <4AC4FA24-6E74-492A-A3CF-DD75CF26390C@skytag.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Missing __toString() part From: bertrand@toggg.com (bertrand Gugger) Gwynne wrote: > no attempt > would/should be made to calculate a hash based on anything other than > what the object is willing to call itself. +1 here oo people have a name for that. and implement what's needed. I'm surely out of talk , but please keep indexes scalar. The toString way is anyway rotten. The id way for an object is headaches. -- toggg