var_dump()
is a method which is used to debug variables in PHP. It dumps structured information about one or more expressions that includes its type and value. PHP developers tends to use var_dump()
to debug an array or an object.
This tool can’t indent all tiers. It only list line by line which can help make the dumped data look a bit tidier.