Ds\Vector::set

Ds\Vector::set

(PECL ds >= 1.0.0)

Ds\Vector::setUpdates a value at a given index.

Description

public void Ds\Vector::set ( int $index , mixed $value )

Updates a value at a given index.

Parameters

index

The index of the value to update.

value

The new value.