ID: 33888 Updated by: [EMAIL PROTECTED] Reported By: wckits at rit dot edu -Status: Open +Status: Bogus Bug Type: Class/Object related Operating System: SunOS PHP Version: 5.0.3 New Comment:
"It is worth noting that the __toString method will only be called when it is directly combined with echo() or print()." http://www.php.net/manual/en/language.oop5.magic.php Previous Comments: ------------------------------------------------------------------------ [2005-07-27 18:24:39] wckits at rit dot edu Description: ------------ Calling join(",",$array_of_objects) will return "object,object,object..." even if all of those objects have toString functions defined. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33888&edit=1