On Fri, 2 Apr 2004, Derick Rethans wrote: > *casting* works fine, we just don't do it automagically: > > print (string) $obj;
Not anymore: class foo { function __toString() { return "I am a string."; } } $foo = new foo; print (string) $foo; Object id #1 -adam -- [EMAIL PROTECTED] author of o'reilly's php cookbook avoid the holiday rush, buy your copy today! -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php