philip          Sun Jun  1 11:14:45 2003 EDT

  Modified files:              
    /phpdoc/en/language types.xml 
  Log:
  Typos as reported by Andrey Hristov.
  
  
Index: phpdoc/en/language/types.xml
diff -u phpdoc/en/language/types.xml:1.111 phpdoc/en/language/types.xml:1.112
--- phpdoc/en/language/types.xml:1.111  Wed Apr 16 14:18:44 2003
+++ phpdoc/en/language/types.xml        Sun Jun  1 11:14:44 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.111 $ -->
+<!-- $Revision: 1.112 $ -->
  <chapter id="language.types">
   <title>Types</title>
 
@@ -1917,7 +1917,7 @@
     
     <para>
      If an object is converted to an object, it is not modified. If a value
-     of any other type is converted to an object, a new instace of the
+     of any other type is converted to an object, a new instance of the
      <literal>stdClass</literal> built in class is created. If the value
      was null, the new instance will be empty. For any other value, a
      member variable named <literal>scalar</literal> will contain the
@@ -1927,7 +1927,7 @@
 <![CDATA[
 <?php
 $obj = (object) 'ciao';
-echo $obj-&gt;scalar;  // outputs 'ciao'
+echo $obj->scalar;  // outputs 'ciao'
 ?>
 ]]>
       </programlisting>



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to