pre ?php $a = array ('a '= 'apple', 'b' = 'banana', 'c '= array ('x' ,'y' ,'z')); print_r ($a);? / pre
This function displays information about the values of variables in a way that's readable by humans. If given a string, integer or double, the value itself will be printed. If given an array, values will be presented in a format that shows keys and elements. Similar notation is used for objects.