<?php $ai = new ArrayIterator(array(1,3,2)); $ai->uasort(function ($a, $b) {return $a - $b;}); var_dump(iterator_to_array($ai));
You have javascript disabled. You will not be able to edit any code.