dump

dump ( [ bool $show_attr = false [, int $depth = 0 ]] )
Parameter Description
show_attr Attribute names are included in the output if enabled.
depth Depth of the current element

Dumps information about the current node and all child nodes recursively.