-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Hannes Magnusson wrote:
| It means that in PHP the type name is 'float' and referred to as
| 'float' throughout the manual
| For convenience you can use "double" (is_double($f), (double)$f,
| settype($f, "double")..), just like you can use is_integer() instead
| of is_int()... :)

Ok, I got it. I think :)

So the manual says only float everywhere but throughout the source the
internal type (the #define) is DOUBLE and gettype() is also returns
"double". Basically, the manual says it's deprecated and documents it
different when in fact PHP actually doesn't implement it that way ...
Phew :)

- - Markus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHgVsj1nS0RcInK9ARAqgsAJ0U/upO0t48xLWvvAjCqAs2RZOf7QCeIVK8
/JrmagWizxWsGK5C4PhY3s0=
=D7QP
-----END PGP SIGNATURE-----

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to