cvs: phpdoc /en/language constants.xml /en/reference/misc/functions define.xml
| From: | Etienne Kneuss | Date: | Thu, 15 Jun 2006 11:11:31 +0000 |
| Subject: | cvs: phpdoc /en/language constants.xml /en/reference/misc/functions define.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969373307@lists.php.net to get a copy of this message | ||
colder Thu Jun 15 11:11:31 2006 UTC
Modified files:
/phpdoc/en/language constants.xml
/phpdoc/en/reference/misc/functions define.xml
Log:
Fix #37776 (move from constants to define)
http://cvs.php.net/viewcvs.cgi/phpdoc/en/language/constants.xml?r1=1.44&r2=1.45&diff_format=u
Index: phpdoc/en/language/constants.xml
diff -u phpdoc/en/language/constants.xml:1.44 phpdoc/en/language/constants.xml:1.45
--- phpdoc/en/language/constants.xml:1.44 Sun Jun 11 08:53:15 2006
+++ phpdoc/en/language/constants.xml Thu Jun 15 11:11:31 2006
@@ -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 @@
<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>,
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/misc/functions/define.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/misc/functions/define.xml
diff -u phpdoc/en/reference/misc/functions/define.xml:1.5
phpdoc/en/reference/misc/functions/define.xml:1.6
--- phpdoc/en/reference/misc/functions/define.xml:1.5 Tue Jul 27 04:48:54 2004
+++ phpdoc/en/reference/misc/functions/define.xml Thu Jun 15 11:11:31 2006
@@ -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>