The phpdoc howto does tell us to document float versus double but:
$i = 4.43; print gettype($i); // double Seems strange, this should be mentioned somewhere. Perhaps on language.types.float. I assume it (double) remains for historical/BC reasons in gettype(). Regards, Philip Olson On Wed, 29 May 2002, Friedhelm Betz wrote: > betz Wed May 29 05:53:40 2002 EDT > > Modified files: > /phpdoc/en/language constants.xml > Log: > minor correction: double is out :-) > > Index: phpdoc/en/language/constants.xml > diff -u phpdoc/en/language/constants.xml:1.24 phpdoc/en/language/constants.xml:1.25 > --- phpdoc/en/language/constants.xml:1.24 Mon Mar 11 19:57:46 2002 > +++ phpdoc/en/language/constants.xml Wed May 29 05:53:40 2002 > @@ -1,5 +1,5 @@ > <?xml version="1.0" encoding="iso-8859-1"?> > -<!-- $Revision: 1.24 $ --> > +<!-- $Revision: 1.25 $ --> > <chapter id="language.constants"> > <title>Constants</title> > > @@ -43,7 +43,7 @@ > </simpara> > <simpara> > Only scalar data (<type>boolean</type>, <type>integer</type>, > - <type>double</type> and <type>string</type>) can be contained > + <type>float</type> and <type>string</type>) can be contained > in constants. > </simpara> > <simpara> > >