<?php class news extends conf { $a=new mysqli($this->host, $this->user, $this->pass, $this->name); } ?>
dlaczego taki zapis wywala błąd

<?php class news extends conf { private $mysqli; public function __construct() { $this->mysqli=new mysqli($this->host, $this->user, $this->pass, $this->name); } } ?>