Multiple choice Which one is correct for creating array? array([key=>] value,.......) array)key=>value,.........) Both (1) and (2) None of these Reveal answer Fill a bubble to check yourself A Correct answer Explanation PHP arrays are created using array() with optional key-value pairs: array('key' => 'value', 'key2' => 'value2'). The => operator associates keys with values. Modern PHP also supports the shorter [] syntax.