|
Ds\Sequence::getReturns the value at a given index. Description
abstract public mixed Ds\Sequence::get
( int
$index
)Returns the value at a given index. Parameters
Return ValuesThe value at the requested index. Errors/ExceptionsOutOfRangeException if the index is not valid. ExamplesExample #1 Ds\Sequence::get example
<?php The above example will output something similar to: string(1) "a" string(1) "b" string(1) "c" Example #2 Ds\Sequence::get example using array syntax
<?php The above example will output something similar to: string(1) "a" string(1) "b" string(1) "c" |