Ds\Vector::insert

Ds\Vector::insert

(PECL ds >= 1.0.0)

Ds\Vector::insertInserts values at a given index.

Description

public void Ds\Vector::insert ( int $index [, mixed $...values ] )

Inserts values into the vector at a given index.

Parameters

index

The index at which to insert. 0 <= index <= count

Note:

You can insert at the index equal to the nu