Use the following code to make your Array to be displayed in a Meaningful way,
print("<pre>".print_r($YourArrayName,true)."</pre>");die;
let’s see the Difference of just Printing an array with var**_dump** or Print_r and the above method,
var_dump code :
<?php
$marks = array(
"kevin" => array (
"physics" => 95,
"maths" => 90,
),
"ryan" => array (
"physics" => 92,
"maths" => 97,
),
);
var_dump($marks);
?>
result :

Print_r code :
<?php
$marks = array(
"kevin" => array (
"physics" => 95,
"maths" => 90,
),
"ryan" => array (
"physics" => 92,
"maths" => 97,
),
);
print_r($marks);
?>
Result :

Code In which the Magic Happens :
<?php
$marks = array(
"kevin" => array (
"physics" => 95,
"maths" => 90,
),
"ryan" => array (
"physics" => 92,
"maths" => 97,
),
);
print("<pre>".print_r($marks,true)."</pre>");die;
?>
Magical Result :

Hope you all will Love it :)