diff --git a/language/oop.xml b/language/oop.xml index 8b7735671c..24de95b9a0 100644 --- a/language/oop.xml +++ b/language/oop.xml @@ -1,5 +1,5 @@ - + Classes and Objects (PHP 4) @@ -394,7 +394,7 @@ $ncart->add_item("10", 1); // (inherited functionality from cart) called when you create a new instance of a class with new. A function becomes a constructor, when it has the same name as the class. If a class - has no constructor, the constructor of the base class is being + has no constructor, the constructor of the base class will be called, if it exists.