Re: cvs: phpdoc /en/language constants.xml
| From: | Friedhelm Betz | Date: | Wed, 29 May 2002 16:38:52 +0000 |
| Subject: | Re: cvs: phpdoc /en/language constants.xml | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969345985@lists.php.net to get a copy of this message | ||
Hi Philip,
Wednesday, May 29, 2002, 6:25:30 PM, you wrote:
> 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().
Yes, that was the reason I deleted double in this context.
Here it is the historical reason documented:
http://www.php.net/manual/en/function.gettype.php
but I see no reason against to make this point clearer in
language.types.float :-)
Regards
Friedhelm