|
Ds\Sequence::setUpdates a value at a given index Description
abstract public void Ds\Sequence::set(int
$index , mixed $value )Updates a value at a given index. Parameters
Return ValuesNo value is returned. Errors/ExceptionsOutOfRangeException if the index is not valid. ExamplesExample #1 Ds\Sequence::set example
The above example will output something similar to: Ds\Vector Object ( [0] => a [1] => _ [2] => c ) Example #2 Ds\Sequence::set example using array syntax
The above example will output something similar to: Ds\Vector Object ( [0] => a [1] => _ [2] => c ) |