Re: wacky object idea
| From: | Thomas Swan | Date: | Wed, 30 Aug 2000 02:57:59 +0000 |
| Subject: | Re: wacky object idea | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-31185@lists.php.net to get a copy of this message | ||
At 8/29/2000 06:44 PM +0300, Zeev Suraski wrote:
At 10:34 29-08-00, thies@digicol.de wrote:Haven't thought about this... Does this work with sprintf( )?On Tue, Aug 29, 2000 at 12:18:44AM +0200, Stig S. Bakken wrote:Hm, it I just changed my opinion on this as well (the C++ operator overlodaing comparison did the trick :-). I guess I'll just rename all the toString methods in PEAR to __string_value.It's completely intentional. This feature is for debugging purposes only.plz be aware that __string_value() is only called when you "print" the object (echo $myclass) and _not_ when you cast it to a string ($b = (string)$myclass). i think we need to fix that!