Re: Missing __toString() part

From: Date: Sat, 03 Jun 2006 12:52:45 +0000
Subject: Re: Missing __toString() part
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-23879@lists.php.net to get a copy of this message
On 6/3/06, Marcus Boerger <helly@php.net> 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

« previous php.internals (#23879) next »