diff --git a/language/oop5/constants.xml b/language/oop5/constants.xml index 6cfdbfb177..65259835a1 100644 --- a/language/oop5/constants.xml +++ b/language/oop5/constants.xml @@ -1,13 +1,14 @@ - + - Object Constants + Class Constants It is possible to define constant values on a per-class basis remaining the same and unchangeable. Constants differ from normal variables in that you don't use the $ symbol to declare or use them. Like static members, constant values - can not be accessed from an instance of the object. + cannot be accessed from an instance of the object (using + $object::constant).