define('NO_EVENT_STREAM_HEADER',1);
require_once('common_api.php');
-header("Content-type: application/json; charset=utf-8");
if (!$rpc)
die(json_encode([]));
function custom_sort($a,$b)
{
- return ($b["Users"] > $a["Users"]) ? true : false;
+ return $b["Users"] <=> $a["Users"];
}
usort($out, "custom_sort");