×
×
Correct!
Here you see an associative array. Output "age" of Ben.
$age = array("Peter"=>"35", "Ben"=>"37", "Joe"=>"43");
echo "Ben is " . @(11) . " years old.";
$age = array("Peter"=>"35", "Ben"=>"37", "Joe"=>"43");
echo "Ben is " . $age['Ben'] . " years old.";
$age = array("Peter"=>"35", "Ben"=>"37", "Joe"=>"43");
echo "Ben is " . $age["Ben"] . " years old.";
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 47 exercises.
Are you sure you want to continue?