<?php

$students = [
[
“name” => “Krunal”,
“course” => “PHP”,
“marks” => 90
],
[
“name” => “Amar”,
“course” => “Laravel”,
“marks” => 85
]
];

foreach ($students as $student) {
echo $student[“name”] . ” – ” . $student[“course”] . ” – ” . $student[“marks”] . “<br>”;
}

?>