<?php

$student = [
“name” => “Krunal”,
“course” => “PHP”,
“city” => “Ahmedabad”
];

foreach ($student as $key => $value) {
echo $key . ” : ” . $value . “<br>”;
}

?>