KRISTOFFER BOHMANN
[BETA]
Forside
Om KB
Kompetencer
Referencer
Variable handling
debug_zval_dump
doubleval
empty
floatval
gettype
get_defined_vars
get_resource_type
import_request_variables
intval
isset
is_array
is_bool
is_callable
is_double
is_float
is_int
is_integer
is_long
is_null
is_numeric
is_object
is_real
is_resource
is_scalar
is_string
print_r
serialize
settype
strval
unserialize
unset
var_dump
var_export
Home
>
PHP
>
Function
>
Variable handling
>
is_scalar()
is_scalar()
is_scalar - Finds whether a variable is a scalar
Syntax
bool
is_scalar
(
mixed
$var)
Arguments
var - The variable being evaluated.
Description
Finds whether the given variable is a scalar.
Version
PHP 4.0.5, 5
Return value
Returns TRUE if var is a scalar FALSE otherwise.