mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Works with class constants (bug #34049)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@196447 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
1270788c11
commit
47ae87650c
1 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- splitted from ./en/functions/misc.xml, last change in rev 1.38 -->
|
||||
<refentry id="function.constant">
|
||||
<refnamediv>
|
||||
|
@ -18,9 +18,13 @@
|
|||
</simpara>
|
||||
<simpara>
|
||||
<function>constant</function> is useful if you need to retrieve
|
||||
the value of a constant, but do not know its name. i.e. It is
|
||||
the value of a constant, but do not know its name. I.e. it is
|
||||
stored in a variable or returned by a function.
|
||||
</simpara>
|
||||
<simpara>
|
||||
This function works also with <link
|
||||
linkend="language.oop5.constants">class constants</link>.
|
||||
</simpara>
|
||||
<para>
|
||||
<example>
|
||||
<title><function>constant</function> example</title>
|
||||
|
|
Loading…
Reference in a new issue