diff --git a/language/oop.xml b/language/oop.xml index 2309bcfda3..20f0a0c398 100644 --- a/language/oop.xml +++ b/language/oop.xml @@ -1,5 +1,5 @@ - + Classes and Objects (PHP 4) @@ -249,7 +249,7 @@ $cart->$myvar = array("10" => 1); The $this pseudo-variable is not usually defined if the method in which it is hosted is called statically. This is not, however, a strict rule: $this is defined if a method is - called statically from within another object, and the value of + called statically from within another object. In this case, the value of $this is that of the calling object. This is illustrated in the following example: