This function displays structured information about one or more expressions that includes its type and value. Arrays and objects are explored recursively with values indented to show structure.
var_dump() used for debugging purpose in PHP.
For Example:
In array you want to know what are the values are there.
<?php
$a = array(1, 2, array("a", "b", "c"));
var_dump($a);
?>
Output for above example:
array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
array(3) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
[2]=>
string(1) "c"
}
}