Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23879 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34840 invoked by uid 1010); 3 Jun 2006 12:52:49 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 34825 invoked from network); 3 Jun 2006 12:52:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Jun 2006 12:52:49 -0000 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 66.249.92.169 ug-out-1314.google.com Linux 2.4/2.6 Received: from ([66.249.92.169:1570] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 7F/68-22639-02681844 for ; Sat, 03 Jun 2006 08:52:49 -0400 Received: by ug-out-1314.google.com with SMTP id m2so926589ugc for ; Sat, 03 Jun 2006 05:52:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=drmnYma5S08NCodiCvMt+DMmWNh2CDlGeUSmM3HyRMTHQL/TpiL/ihxtIfCYGXNP4Iu6XWS3OmSsO/ZnKD5pSB/OtCpeYl/OfVxeu6u6FChrNSH+oP2JBpAfxXR01qxDvR1RiOCXdE0Sz2lT2QEHK8GmAwnNZziGo3AQajuJ/1o= Received: by 10.66.222.9 with SMTP id u9mr1662546ugg; Sat, 03 Jun 2006 05:52:45 -0700 (PDT) Received: by 10.66.220.11 with HTTP; Sat, 3 Jun 2006 05:52:45 -0700 (PDT) Message-ID: Date: Sat, 3 Jun 2006 14:52:45 +0200 To: "Marcus Boerger" Cc: internals@lists.php.net, "Dmitry Stogov" , "Andi Gutmans" , "Zeev Suraski" , "Ilia Alshanetsky" In-Reply-To: <281938697.20060603144727@marcus-boerger.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <795156743.20060603134212@marcus-boerger.de> <281938697.20060603144727@marcus-boerger.de> Subject: Re: [PHP-DEV] Missing __toString() part From: pierre.php@gmail.com (Pierre) On 6/3/06, Marcus Boerger wrote: > Hello Pierre, > > ever thought that we use tests to check special behavior and that > those snippets have little to do with real applications? Obviously > not. The idea behind is that for instance you might use an array as > a translation and use an object to *calculate* the index. I understood that. The "magic" behind __toString was my point. However adding it could help to be consistent with the other magic operations... --Pierre