title: PHP include error when calling script from CLI
body: <p>I'm trying to call from CLI a php script that include the <a href="http://simplehtmldom.sourceforge.net/" rel="nofollow">PHP Simple HTML DOM Parser library</a>, I've two files:</p>
  
  <p>File test.php</p>
  
  <pre><code>&lt;?php
  echo exec('php -f script.php');
  ?&gt;
  </code></pre>
  
  <p>File script.php</p>
  
  <pre><code>&lt;?php
  include('simple_html_dom.php');
  $ob = new simple_html_dom();
  ?&gt;
  </code></pre>
  
  <p>On PHP 5.5.12 this works perfectly, but on a server that runs PHP 5.5.18 I got the following error:</p>
  
  <blockquote>
    <p>Parse error: syntax error, unexpected T_STRING, expecting
    T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in
    /path/to/simple_html_dom.php on line 117</p>
  </blockquote>
  
  <p>Line 117 is:</p>
  
  <pre><code>public $nodetype = HDOM_TYPE_TEXT;
  </code></pre>
  
  <p>This constante is declared in line 48 as:</p>
  
  <pre><code>define('HDOM_TYPE_TEXT',    3);
  </code></pre>
  
  <p>I see no problem! I don't know why it's bugging in .18 and not in .12, I've tried everything, can you help me?</p>