public function serverGetPortById($sid)
    {
        if (!array_key_exists((string)$sid, $this->serverList())) {
            throw new Ts3Exception("invalid serverID", 0x400);
        }

        return $this->serverList[intval((string)$sid)]["virtualserver_port"];
    }
public function serverGetPortById($sid)
    {
        if (!array_key_exists((string)$sid, $this->serverList())) {
            throw new Ts3Exception("invalid serverID", 0x400);
        }

        return $this->serverList[intval((string)$sid)]["virtualserver_port"];
    }
Returns the port of a virtual server matching the given ID.

@param  integer $sid
@throws \Teamspeak3\Ts3Exception
@return integer