$code,'coef'=>$coef,'morecode'=>$morecode,'fullcode'=>$fullcode); } // sorting the list by coefficient desc krsort($accepted); return $accepted; } class SomeClass { public function __init() { # do something throw new Exception('pipo'); } public static function pipo($var) { return $var + 12; } } SomeClass::pipo(12); ?>