diff --git a/language/oop5/properties.xml b/language/oop5/properties.xml index 2cb5846c2b..4734c517f9 100644 --- a/language/oop5/properties.xml +++ b/language/oop5/properties.xml @@ -40,13 +40,13 @@ as if it had been declared as public. - - Within class methods non-static properties may be accessed by using the form - $this->property (where property - is the name of the property). Static properties are accessed by using the - form self::$property. - See Static Keyword for more information - on the difference between static and non-static properties. + + Within class methods non-static properties may be accessed by using + -> (Object Operator): $this->property + (where property is the name of the property). + Static properties are accessed by using the :: (Double Colon): + self::$property. See Static Keyword + for more information on the difference between static and non-static properties. The pseudo-variable $this is available inside