Re: __toString() with cast is broken in php5 RC1
| From: | Derick Rethans | Date: | Fri, 02 Apr 2004 07:18:36 +0000 |
| Subject: | Re: __toString() with cast is broken in php5 RC1 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-8885@lists.php.net to get a copy of this message | ||
On Thu, 1 Apr 2004, David Giffin wrote:
> Is this going to change back? The php5 documentation on the zend site
> shows that both casting and print/echo should work.
*casting* works fine, we just don't do it automagically:
print (string) $obj;
regards,
Derick