My implementation does not have these inconsistencies (I looked in the
archives). The only wierd thing is print_r and dump_var.
"Zeev Suraski" <[EMAIL PROTECTED]> wrote in message
> At 19:53 22-08-01, Andrei Zmievski wrote:
> >On Wed, 22 Aug 2001, Jeremy Bettis wrote:
> > > I changed php (current CVS) to add another magic method to Objects,
> > > __toString(). Whenever an object needs to be converted to a string,
> > then it
> > > will first try to call __toString() and if it can't, then it will just
> > > return "Object" like now.
> >Good luck trying to get this in.
> I implemented this once, and it was even in for several mini versions.
> it causes inconsistencies, and it was thus removed (I don't remember what
> the inconsistencies were, look up the archives...)
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]