public function info($link) { /* @var $link \mysqli */ return sprintf('%s (thread %d)', $link->host_info, $link->thread_id); }