<?php $sort = array('key1' => 'key1', 'key2' => 'key2'); uasort($testSort, function ($a, $b) { return 0; // like as elements are equal }); print_r($sort);
You have javascript disabled. You will not be able to edit any code.