PHP » GoLang |
login |
register |
about
|
GoLang Ds\Sequence::sort
request it (366)
GoLang replacement for PHP's Ds\Sequence::sort
[edit | history]
Ds\Sequence::sort(PECL ds >= 1.0.0) Ds\Sequence::sort — Sorts the sequence in-place Description
Sorts the sequence in-place, using an optional Parameters
Return ValuesNo value is returned. ExamplesExample #1 Ds\Sequence::sort() example
<?php The above example will output something similar to: Ds\Vector Object ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 ) Example #2 Ds\Sequence::sort() example using a comparator
<?php The above example will output something similar to: Ds\Vector Object ( [0] => 5 [1] => 4 [2] => 3 [3] => 2 [4] => 1 ) |
more
Recently updated
more
Most requested
more
Last requests
|