Re: object to string convertion patch

From: Date: Wed, 22 Aug 2001 16:53:39 +0000
Subject: Re: object to string convertion patch
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-64058@lists.php.net to get a copy of this message
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. -Andrei * George Orwell was an optimist. *

« previous php.dev (#64058) next »