Re: __toString()
| From: | Marcus Boerger | Date: | Sun, 14 Dec 2003 12:56:28 +0000 |
| Subject: | Re: __toString() | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6444@lists.php.net to get a copy of this message | ||
Hello Sebastian,
Sunday, December 14, 2003, 1:52:38 PM, you wrote:
> Marcus Boerger wrote:
>> We found out that calling __toString() automatically in any place in
>> the executor has unsolveable problems right now (ask Andi for details).
> So if __toString() is no longer automatically called what is its
> purpose then?
> I mean, if I have to explicitly call it via ->__toString() I can save
> two characters and name the method toString().
Probably someone takes a deeper look into all problems after 5.0 is out?
i don't know. Anyway it is a naming convention.
--
Best regards,
Marcus mailto:helly@php.net