diff --git a/language/oop5/basic.xml b/language/oop5/basic.xml index bbbfb35852..7d8033353f 100644 --- a/language/oop5/basic.xml +++ b/language/oop5/basic.xml @@ -1,5 +1,5 @@ - + The Basics @@ -127,7 +127,7 @@ EOD; new - To create an instance of an object, a new object must be created and + To create an instance of a class, a new object must be created and assigned to a variable. An object will always be assigned when creating a new object unless the object has a constructor defined that throws an @@ -144,9 +144,9 @@ $instance = new SimpleClass(); - When assigning an already created instance of an object to a new variable, the new variable + When assigning an already created instance of a class to a new variable, the new variable will access the same instance as the object that was assigned. This - behaviour is the same when passing instances to a function. A new instance + behaviour is the same when passing instances to a function. A copy of an already created object can be made by cloning it.