From e59fe02c415de8d47dba46681ae8416f9a5bd9fa Mon Sep 17 00:00:00 2001 From: Sean Coates Date: Wed, 3 Aug 2005 18:21:30 +0000 Subject: [PATCH] rename to 'Class Constants', and add to instance/constant statement git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@192329 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/oop5/constants.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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).