Thorsten Suckow-Homberg wrote:
In your case the __toString() method would be valuable...
Beware! This bugs are related to __toString() method: 31766 Open printf and __toString 34286 Assigned __toString() behavior is inconsistent -- Ondrej Ivanič (ondrej@xxxxxxxxxxx) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php