Re: [patch] __string() method
| From: | Jon Parise | Date: | Tue, 02 Sep 2003 15:47:44 +0000 |
| Subject: | Re: [patch] __string() method | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-4352@lists.php.net to get a copy of this message | ||
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/)