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
>
settype()
settype()
settype - Set the type of a variable
Syntax
bool
settype
()
Arguments
-
Description
Set the type of variable var to type.
Version
PHP 4, 5
Return value
Returns TRUE on success or FALSE on failure.