Added a note that only scalar values are allowed as the value of constants.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@234592 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Maciek Sokolewicz 2007-04-27 07:54:37 +00:00
parent 5bf8ad6119
commit 49880cd19a

View file

@ -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.
</para>
</listitem>
</varlistentry>