goba            Mon Aug 20 09:34:07 2001 EDT

  Modified files:              
    /phpdoc/en/language oop.xml 
  Log:
  Typo fixes
  
  
Index: phpdoc/en/language/oop.xml
diff -u phpdoc/en/language/oop.xml:1.22 phpdoc/en/language/oop.xml:1.23
--- phpdoc/en/language/oop.xml:1.22     Mon Aug 20 07:55:11 2001
+++ phpdoc/en/language/oop.xml  Mon Aug 20 09:34:06 2001
@@ -1,5 +1,5 @@
 <?xml encoding="iso-8859-1"?>
-<!-- $Revision: 1.22 $ -->
+<!-- $Revision: 1.23 $ -->
  <chapter id="language.oop">
   <title>Classes and Objects</title>
 
@@ -161,7 +161,7 @@
 $cart->$items = array("10" => 1);
 
 // correct, but may or may not be what was intended:
-// $cart->$myvar becomes $ncart->items
+// $cart->$myvar becomes $cart->items
 $myvar = 'items';
 $cart->$myvar = array("10" => 1);  
     </programlisting>
@@ -190,7 +190,7 @@
     to another existing class. In fact, it is good practice to
     define a generic class which can be used in all your
     projects and adapt this class for the needs of each of your
-    specific projects. To facilitate this, Classes can be
+    specific projects. To facilitate this, classes can be
     extensions of other classes.  The extended or derived class
     has all variables and functions of the base class (this is
     called 'inheritance' despite the fact that nobody died) and what
@@ -407,7 +407,7 @@
    
    <para>
     Destructors are functions that are called automatically
-    when a variable is destroyed, either with <function>unset</function>
+    when an object is destroyed, either with <function>unset</function>
     or by simply going out of scope. There are no destructors
     in PHP.
    </para>


Reply via email to