You can't instantiate classes when creating member variables in a class. You have to do this in the constructor or a method:
class Connect_db{
private $mysqli;
public function __constructor() {
$this->mysqli = new mysqli('localhost', 'root', '', 'cms');
}
}