sean Wed Aug 3 14:21:30 2005 EDT
Modified files:
/phpdoc/en/language/oop5 constants.xml
Log:
rename to 'Class Constants', and add to instance/constant statement
http://cvs.php.net/diff.php/phpdoc/en/language/oop5/constants.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/language/oop5/constants.xml
diff -u phpdoc/en/language/oop5/constants.xml:1.5
phpdoc/en/language/oop5/constants.xml:1.6
--- phpdoc/en/language/oop5/constants.xml:1.5 Sat Oct 2 05:40:50 2004
+++ phpdoc/en/language/oop5/constants.xml Wed Aug 3 14:21:30 2005
@@ -1,13 +1,14 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<sect1 id="language.oop5.constants">
- <title>Object Constants</title>
+ <title>Class Constants</title>
<para>
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 <varname>$</varname> symbol to declare or use them. Like
<link linkend="language.oop5.static">static</link> members, constant values
- can not be accessed from an instance of the object.
+ cannot be accessed from an instance of the object (using
+ <literal>$object::constant</literal>).
</para>
<example>