is_resource> <is_object
Last updated: Fri, 16 Jul 2010

is_real

(PHP 4, PHP 5)

is_realSinônimo de is_float()

Descrição

Esta função é um apelido para: is_float().



User Contributed Notes
is_real
charlescbe16 at gmail dot com
24-Jul-2010 04:53
is_float — Finds whether a variable is a floatDescriptionbool is_float ( mixed var )

Finds whether the given variable is a float.

example:
<?php
$float
=50.97;
if(
is_float($float))
{
    echo
$float."is a float";
}
else
{
    echo
$float. "is not a float";
}
?>

output:
50.97 is a float

is_resource> <is_object
Last updated: Fri, 16 Jul 2010