What is an associative array?
• Associative Arrays add the final degree of complexity allowing ordered lists to be associated with other values. Unlike list arrays, associative arrays have index values that are not numbers. You do not reference an associative array as $associative_array_name[0] as you did for the list array. Instead, associative arrays are indexed with arbitrary scalar variables. Consider the following associative array definition: %CLIENT_ARRAY = (‘full_name’, ‘Selena Sol’, ‘phone’, ‘213-456-7890’, ‘age’, ’27’); • In this example, we have defined the associative array %CLIENT_ARRAY to have three sets of associations.