|
Ds\Sequence::reversedReturns a reversed copy Description
abstract public Ds\Sequence Ds\Sequence::reversed()
Returns a reversed copy of the sequence. ParametersThis function has no parameters. Return ValuesA reversed copy of the sequence.
ExamplesExample #1 Ds\Sequence::reversed example
The above example will output something similar to: Ds\Vector Object ( [0] => c [1] => b [2] => a ) Ds\Vector Object ( [0] => a [1] => b [2] => c ) |