mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
static is special keyword too (patch by anon 11351, doc #54038)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318102 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
0ad397ef11
commit
bc318ee83f
1 changed files with 3 additions and 2 deletions
|
@ -48,8 +48,9 @@ echo MyClass::CONST_VALUE;
|
|||
</example>
|
||||
|
||||
<para>
|
||||
Two special keywords <varname>self</varname> and <varname>parent</varname>
|
||||
are used to access properties or methods from inside the class definition.
|
||||
Three special keywords <varname>self</varname>, <varname>parent</varname> and
|
||||
<varname>static</varname> are used to access properties or methods from inside
|
||||
the class definition.
|
||||
</para>
|
||||
|
||||
<example>
|
||||
|
|
Loading…
Reference in a new issue