<!DOCTYPE html>
<html>
<head>
	<title>JavaScript Objects and PHP Associate Arrays</title>
</head>
<body>
<script>

	// PROBLEM 1
	// Create variable named patients.
	// This variable should store an array of objects.
	// Each object array will have the following properties:
	// 		firstName (string)
	// 		lastName (string)
	// 		age (number)
	// 		vaccinated (boolean)
	// Add at least 3 elements (objects) to the patients array (you can assign the values for each property)
	// When you are done creating the array, console log it
	var patients = [
		{
			firstName: "Josh",
			lastName : "Knudtson",
			age: 19,
			vaccinated: true
		},
		{
			firstName: "Joshua",
			lastName : "Knudtson",
			age: 19,
			vaccinated: true
		},
		{
			firstName: "Draven",
			lastName : "Maybury",
			age: 19,
			vaccinated: true
		},
		{
			firstName: "Mike",
			lastName : "Knudtson",
			age: 30,
			vaccinated: false
		}
		];


		console.log(patients);

	

	


</script>
<?php

	// PROBLEM 2
	// Create variable named $patients.
	// This variable should store an array of associate arrays.
	// Each associative array will have the following keys:
	// 		firstName (string)
	// 		lastName (string)
	// 		age (number)
	// 		vaccinated (boolean)
	// Add at least 3 elements to the $patients array (you can assign the values for each key)
	// When you are done creating the array, then var dump it.
		$patients = [
			["firstName" => "Josh", "lastName" => "Knudtson"],
			["firstName" => "Joshua", "lastName" => "Knudtson"]
		];

		var_dump($patients);
?>

</body>
</html>