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

From: Date: Fri, 27 Apr 2007 12:40:46 +0000
Subject: Re: cvs: phpdoc /en/reference/misc/functions define.xml
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969376177@lists.php.net to get a copy of this message
Should we mention that define() also accepts objects with __toString() implemented.. or is that generally expected? -Hannes On 4/27/07, Maciek Sokolewicz <tularis@php.net> wrote:
tularis         Fri Apr 27 11:10:29 2007 UTC
Modified files:
    /phpdoc/en/reference/misc/functions define.xml
Log: define() also allows null and boolean values http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/misc/functions/define.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/misc/functions/define.xml diff -u phpdoc/en/reference/misc/functions/define.xml:1.9 phpdoc/en/reference/misc/functions/define.xml:1.10 --- phpdoc/en/reference/misc/functions/define.xml:1.9 Fri Apr 27 07:54:37 2007
+++ phpdoc/en/reference/misc/functions/define.xml       Fri Apr 27 11:10:29 2007
@@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <refentry id="function.define"> <refnamediv> <refname>define</refname> @@ -35,7 +35,9 @@
      <term><parameter>value</parameter></term>
      <listitem>
       <para>
-       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.
+       The value of the constant; only scalar and <type>null</type> values are allowed.
+       Scalar values are <type>integer</type>,
+       <type>float</type>, <type>string</type> or <type>boolean</type> values.
       </para>
      </listitem>
     </varlistentry>


« previous php.doc (#969376177) next »