Haifa linux club:PHP lecture
Prev Next


variables functions


(partial list)
empty - Determine whether a variable is set
isset - same as !empty($a)
gettype - Get the type of a variable
get_defined_vars - Returns an array of all defined variables
is_array - Finds whether a variable is an array
is_bool - Finds out whether a variable is a boolean
is_float - Finds whether a variable is a float
is_int - Find whether a variable is an integer
is_null - Finds whether a variable is NULL
is_numeric - Finds whether a variable is a number or a numeric string
is_object - Finds whether a variable is an object
is_string - Finds whether a variable is a string
unset - Unset a given variable
functions for debugging :
print_r - Prints human-readable information about a variable
var_dump - Dumps information about a variable



HOME