@jesdisciple: Not so.
<?php
is_real(2.0) //evaluates to TRUE
?>
For proof, see this:
http://demo.pixelsandpages.com/is_float_int_real.php
Descrição
Esta função é um apelido para: is_float().
User Contributed Notes
is_real
is_real
alan hogan dot com slash contact
08-Nov-2007 01:39
08-Nov-2007 01:39
alan hogan dot com slash contact
08-Nov-2007 01:38
08-Nov-2007 01:38
@jesdisciple: Not so.
<?php
is_real(2.0) //evaluates to TRUE
?>
For proof, see this:
http://demo.pixelsandpages.com/is_float_int_real.php
jesdisciple @t gmail -dot- com
07-Nov-2007 01:09
07-Nov-2007 01:09
I object to this as an alias for is_float(), because 2.1 is no more "real" as a number than 2.0 (which is automatically cast to int, and therefore is_real(2.0) === false).

is_object