What does the var_dump function reveal about the $temp variable in the code?

The var_dump function reveals that the $temp variable is an array with key-value pairs. To access the value associated with the key 'name', we need to use $temp['name'] instead of $temp['0'].

$temp = array('name' => 'John', 'age' => 30);
var_dump($temp['name']);