title: syntax error, unexpected T_PRINT, expecting T_STRING
body: <p>i'm getting this error:</p>
  
  <pre><code>Parse error: syntax error, unexpected T_PRINT, expecting T_STRING in 
  /homepages/26/d94605010/htdocs/lz/writecodeonline.com/php/index.php(190) 
  : eval()'d code on line 7
  </code></pre>
  
  <p>Example:</p>
  
  <pre><code>   Class HelloWorld
      {   
        public $word;
  
        public function print()  
        {    
          echo $this-&gt;"hi";    
        }    
      }
  
      $word = new HelloWorld();
      $word = print();
  </code></pre>