title: getting Parse error: syntax error, unexpected T_NEW
body: <p>I have two classes memberdao and member class .I am creating an object of memberdao class inside member class .here is my code</p>
  
  <pre><code>require_once('/../dao/memberdao.class.php');
  
  class Member
  {
  public $objMemberDao= new MemberDao(); 
  
  }
  </code></pre>
  
  <p>but it gives an error Parse error: syntax error, unexpected T_NEW in C:\xampp\htdocs\membership\lib\member.class.php on line 9. I am new in php so please help</p>