Fix #37776 (move from constants to define)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@214823 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Etienne Kneuss 2006-06-15 11:11:31 +00:00
parent e81f680bde
commit aa617da6c7
2 changed files with 4 additions and 5 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.44 $ -->
<!-- $Revision: 1.45 $ -->
<chapter id="language.constants">
<title>Constants</title>
@ -62,8 +62,7 @@ define("__FOO__", "something");
<simpara>
You can define a constant by using the
<function>define</function>-function. Once a constant is defined,
it can never be changed or undefined. Unlike functions, constants need to
be defined before they are referenced.
it can never be changed or undefined.
</simpara>
<simpara>
Only scalar data (<type>boolean</type>, <type>integer</type>,

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/misc.xml, last change in rev 1.2 -->
<refentry id="function.define">
<refnamediv>
@ -15,7 +15,7 @@
<methodparam choice="opt"><type>bool</type><parameter>case_insensitive</parameter></methodparam>
</methodsynopsis>
<para>
Defines a named constant. See the
Defines a named constant at runtime. See the
<link linkend="language.constants">section on constants</link>
for more details.
</para>