Convenience method for print_r
.
Displays information about a variable in a way that's readable by humans.
If given a string, integer or float, the value itself will be printed.
If given an array, values will be presented in a format that shows keys and elements.
Parameters | |||
---|---|---|---|
mixed
|
$input |
The variable to debug |
# |
boolean
|
$pre = true |
TRUE to print using |
# |
Returns | |
---|---|
void
|