From 5763832b3e0247afc78038a0172134d6c7dd3287 Mon Sep 17 00:00:00 2001 From: Sean Coates Date: Mon, 22 Nov 2004 15:23:03 +0000 Subject: [PATCH] - fixed grammar - added example git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@173228 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/oop5/magic.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/language/oop5/magic.xml b/language/oop5/magic.xml index 30f6588608..b8e167de25 100644 --- a/language/oop5/magic.xml +++ b/language/oop5/magic.xml @@ -1,5 +1,5 @@ - + Magic Methods @@ -114,8 +114,11 @@ echo 'text', $class; // __toString not called (concatenation operator used first) echo 'text' . $class; -// __toString not called (casted to string first) +// __toString not called (cast to string first) echo (string) $class; + +// __toString not called (cast to string first) +echo "text $class"; ?> ]]>