Re: cvs: phpdoc /en/reference/misc/functions define.xml

From: Date: Fri, 27 Apr 2007 10:05:10 +0000
Subject: Re: cvs: phpdoc /en/reference/misc/functions define.xml
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969376174@lists.php.net to get a copy of this message
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 colder@php.net Men never do evil so completely and cheerfully as when they do it from a religious conviction. -- Pascal

« previous php.doc (#969376174) next »