It *needs* to work so that overloaded objects (simplexml, COM etc.) can have their cast handlers called.
Andi wrote: > No. You would get print toupper($obj->__toString()). > I am not sure (string) cast on objects should work. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php