Beginner
PHP
Q19 / 100
How do you access a value from an associative array?
Correct! Well done.
Incorrect.
The correct answer is C) $arr['key']
C
Correct Answer
$arr['key']
Explanation
Associative array values are accessed with $arr['key'] or $arr["key"].
Progress
19/100