From: Andi Gutmans Date: Thu, 18 Mar 2004 08:12:19 +0000 (+0000) Subject: - Update Changes X-Git-Tag: php-5.0.0RC1~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2004c2504142eddeebde51dd09141f9f88cb1c29;p=php - Update Changes --- diff --git a/Zend/ZEND_CHANGES b/Zend/ZEND_CHANGES index d00c6f7f25..2388cf406a 100644 --- a/Zend/ZEND_CHANGES +++ b/Zend/ZEND_CHANGES @@ -913,10 +913,10 @@ Changes in the Zend Engine 2.0 The magic method __toString() allows to overload the object to string conversion. This conversion is only done automatically for - printing functions (echo, *printf) but not for other functions + the printing functions (echo, print) but not for other functions that expect strings. Also the function __toString is not used in places where objects are not allowed but strings are like array - indices. Note that specialized objects maybe converted to a string + indices. Note that specialized objects may be converted to a string in any place but without calling __toString(). Example: