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