Method ADT.Sequence()->_insert_element()


Method _insert_element

void _insert_element(int index, mixed value)

Description

Insert an element in the sequence at the position index, the value at the position index and all above will have their index increased by one.

Parameter index

The index to insert the value at.

Parameter value

The new value.