Predefined function reference

list_set_at_index

A reference entry for list_set_at_index

Predefined function · list

list_set_at_index (list l, integer pos, mixed value) ⇒ list

Updates an existing element at the index of the array with a new value, v, to the list, l, at an index, p.

Alternative function names: list_set_at