Q. How do you create an associative array in PHP?
β
Correct Answer: (C)
Both 1 and 2
Explanation: PHP allows associative arrays using both array() and [] syntax.