mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Rewording to make it read properly.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165668 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
413b9f0979
commit
d95ca895ae
1 changed files with 6 additions and 7 deletions
|
@ -1,14 +1,13 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<sect1 id="language.oop5.constants">
|
||||
<title>Object 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 <xref linkend="language.oop5.static"/> members, constant
|
||||
values can not be accessed with a variable that is an instance of the
|
||||
object.
|
||||
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.
|
||||
</para>
|
||||
|
||||
<example>
|
||||
|
|
Loading…
Reference in a new issue