array array([mixed $element0[, mixed $element1...]])

Returns an array made up of the given comma-separated elements (zero or more).

The first element is at index 0.

The index can optionally be explicitly stated using the format index => value, where index is an integer or a string. Example: array('index1' => 'value1', 'index2' => 'value2')

If an index is an integer (say x), then the next default index will be the biggest integer index + 1 and will not necessarily be x+1.

If multiple values for an index are given, then the last one overwrites the previous ones.

This function is supported by CSE HTML Validator v12.0027 and later.