diff --git a/language/oop5/basic.xml b/language/oop5/basic.xml index 223dab469ce7..73ab93c4062f 100644 --- a/language/oop5/basic.xml +++ b/language/oop5/basic.xml @@ -47,7 +47,7 @@ class SimpleClass The pseudo-variable $this is available when a method is called from within an object context. - $this is a reference to the calling object. + $this is the value of the calling object. diff --git a/language/oop5/properties.xml b/language/oop5/properties.xml index df719c9129d7..e1fa464ee8d1 100644 --- a/language/oop5/properties.xml +++ b/language/oop5/properties.xml @@ -40,7 +40,7 @@ The pseudo-variable $this is available inside any class method when that method is called from within an object - context. $this is a reference to the calling + context. $this is the value of the calling object (usually the object to which the method belongs, but possibly another object, if the method is called statically from the context diff --git a/language/references.xml b/language/references.xml index 4d45a073dc3c..6f2d3928d687 100644 --- a/language/references.xml +++ b/language/references.xml @@ -529,14 +529,6 @@ $var =& $GLOBALS["var"]; won't unset the global variable. - - - <literal>$this</literal> - - In an object method, $this is always a reference - to the called object. - -