From ca562b60e8fcd724a0ed2758c898911805eff2d4 Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Sat, 12 Aug 2006 16:09:29 +0000 Subject: [PATCH] fix #37702: __toString() is now more magical since php 5.2 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@218035 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/oop5/magic.xml | 29 +++-------------------------- 1 file changed, 3 insertions(+), 26 deletions(-) diff --git a/language/oop5/magic.xml b/language/oop5/magic.xml index 4b33229168..52024187fa 100644 --- a/language/oop5/magic.xml +++ b/language/oop5/magic.xml @@ -1,5 +1,5 @@ - + Magic Methods @@ -139,33 +139,10 @@ Hello - It is worth noting that the __toString method - will only be called when it is directly combined with + It is worth noting that before PHP 5.2.0 the __toString + method was only called when it was directly combined with echo or print. - - Cases where <literal>__toString</literal> is called - - -]]> - -