The var_dump() function is used to output relevant information about variables.
The var_dump() function displays structural information about one or more expressions, including the expression's type and value. Arrays will expand values recursively, showing their structure through indentation.
PHP version requirements: PHP 4, PHP 5, PHP 7
void var_dump ( mixed $expression [, mixed $... ] )
Parameter description:
$expression: the variable you want to output.
No return value.
The output is:
array(3) { [0]=> int(1) [1]=> int(2) [2]=> array(3) { [0]=> string(1) "a" [1]=> string(1) "b" [2]=> string(1) "c" }}
The output is:
float(3.1)bool(true)