Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4352 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22195 invoked by uid 1010); 2 Sep 2003 15:47:45 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 22171 invoked from network); 2 Sep 2003 15:47:45 -0000 Received: from unknown (HELO blacksheep.csh.rit.edu) (129.21.60.6) by pb1.pair.com with SMTP; 2 Sep 2003 15:47:45 -0000 Received: from fury.csh.rit.edu (fury.csh.rit.edu [2001:470:1f00:135:a00:20ff:fe8d:5399]) by blacksheep.csh.rit.edu (Postfix) with ESMTP id 88E0E14A; Tue, 2 Sep 2003 11:47:45 -0400 (EDT) Received: by fury.csh.rit.edu (Postfix, from userid 37404) id 4C3D212B2; Tue, 2 Sep 2003 11:47:45 -0400 (EDT) Date: Tue, 2 Sep 2003 11:47:44 -0400 To: internals@lists.php.net, engine2@lists.zend.com Cc: Marcus =?iso-8859-1?Q?B=F6rger?= Message-ID: <20030902154744.GB13689@csh.rit.edu> Mail-Followup-To: internals@lists.php.net, engine2@lists.zend.com, Marcus =?iso-8859-1?Q?B=F6rger?= References: <20030902082910.GA29213@csh.rit.edu> <619505898.20030902115929@post.rwth-aachen.de> <20030902154529.GA13689@csh.rit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030902154529.GA13689@csh.rit.edu> Subject: Re: [PHP-DEV] [patch] __string() method From: jon@php.net (Jon Parise) On Tue, Sep 02, 2003 at 11:45:29AM -0400, Jon Parise wrote: > I chose '__string' to follow the existing convention for "special" > method names (e.g. __construct, __clone, __call). Also, I suspect > that many developers are already using toString() methods in their > classes, and I'm not sure we want to use them directly with having ^without > them think about the semantics of their decision first. -- Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)