Php Variable functions


The Variable functions through we can easily handle the PHP variables. so you can follow the below functions.

Function Descrption
gettype() The gettype() function get the type of a variable.
settype() The settype() function set the type of a variable.
isset() The isset() function determine whether a variable is set.
unset() The unset() function unset a given variable.
strval() The strval() function get string value of variable.
floatval() The floatval() function get float value of variable.
intval() The intval() function get integer value of a variable.
print_r() The print_r() function prints human-readable information about a variable.