Q. Which of the following is the correct way to declare an array in PHP?
β
Correct Answer: (C)
Both option1 and option2
Explanation: PHP supports both array() function and short array syntax [] to declare arrays.