Array Overview

An array is a collection of values of the same type. Each element of the array is identified with an index or a key. Any type that can be used to declare a variable can be used to declare an array, even another array.

Types of arrays

Studio supports the following types of arrays:

Indexed arrays are indexed by consecutive positive integers, starting from 0 (zero).

Associative arrays may be indexed by any type, although certain types are better suited for use as indexes.

For further information about Arrays, please refer to these sections: