sean            Mon Nov 22 10:23:03 2004 EDT

  Modified files:              
    /phpdoc/en/language/oop5    magic.xml 
  Log:
  - fixed grammar
  - added example
  
  
http://cvs.php.net/diff.php/phpdoc/en/language/oop5/magic.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/language/oop5/magic.xml
diff -u phpdoc/en/language/oop5/magic.xml:1.5 
phpdoc/en/language/oop5/magic.xml:1.6
--- phpdoc/en/language/oop5/magic.xml:1.5       Mon Oct 11 02:27:51 2004
+++ phpdoc/en/language/oop5/magic.xml   Mon Nov 22 10:23:03 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
  <sect1 id="language.oop5.magic">
   <title>Magic Methods</title>
   <para>
@@ -114,8 +114,11 @@
 // __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";
 ?>
 ]]>
     </programlisting>

Reply via email to