September 2001
Intermediate to advanced
768 pages
32h 45m
English
void var_dump(mixed variable, [mixed another_variable], [mixed...])
Displays detailed information about one or more variables.
Returns:
Nothing
Description:
var_dump() displays information about variables in a simple, readable format. This function is very useful when debugging—providing a simple and easy way to display the current contents of one or more variables.
For simple scalar variables (such as booleans, integers, strings, and doubles), the type of the variable is printed, followed by an opening bracket, the value contained in the variable, and a closing bracket.
Resource pointers have their type (resource), ID number (such as 1, 2, or 45), and type of resource (such as dir or file) displayed. The ID number assigned to a resource ...
Read now
Unlock full access