PuStudy.Com Start write and Run your Web Code Online Work, PuStudy.Com Provide Online Web Editor, Every Language Code Work in this Editor, Editor Work Like as - Html, Php, Css, Bootstrap, Asp, jQuery Etc.
<?php function my_sort($x, $y) { if ($x == $y) return 0; return ($x > $y) ? -1 : 1; } $people = array("10" => "javascript", "20" => "php", "60" => "vbscript", "40" => "jsp"); uasort($people, "my_sort"); print_r ($people); ?>