you can try to return this directly po ``return strcmp($this->password, $this->rep_password);``