dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

is_resource> <is_object
[edit] Last updated: Fri, 28 Jun 2013

view this page in

is_real

(PHP 4, PHP 5)

is_realAlias of is_float()

Description

This function is an alias of: is_float().



add a note add a note User Contributed Notes is_real - [1 notes]
up
6
charlescbe16 at gmail dot com
2 years ago
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

 
show source | credits | stats | sitemap | contact | advertising | mirror sites