Hi,

Maciek Sokolewicz wrote:
tularis         Fri Apr 27 07:54:37 2007 UTC

Modified files: /phpdoc/en/reference/misc/functions define.xml Log:
  Added a note that only scalar values are allowed as the value of constants.
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/misc/functions/define.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/misc/functions/define.xml
diff -u phpdoc/en/reference/misc/functions/define.xml:1.8 
phpdoc/en/reference/misc/functions/define.xml:1.9
--- phpdoc/en/reference/misc/functions/define.xml:1.8   Mon Feb 19 00:03:13 2007
+++ phpdoc/en/reference/misc/functions/define.xml       Fri Apr 27 07:54:37 2007
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
 <refentry id="function.define">
  <refnamediv>
   <refname>define</refname>
@@ -35,7 +35,7 @@
      <term><parameter>value</parameter></term>
      <listitem>
       <para>
-       The value of the constant.
+       The value of the constant; only scalar values, that is <type>integer</type>s, 
<type>float</type>s and <type>string</type>s are allowed.
You forgot boolean, (and eventually NULL) ;)

Regards
       </para>
      </listitem>
     </varlistentry>



--
Etienne Kneuss
http://www.colder.ch
[EMAIL PROTECTED]

Men never do evil so completely and cheerfully as
when they do it from a religious conviction.
-- Pascal

Reply via email to