What version of PHP started supporting the following syntax?
<p>on my server (Centos5) i have PHP 5.2, i'm unable to update it, i read somewhere that PHP 5.4 won't work on Centos5, didn't inspect enough as i am in the middle of a lot of projects, anyways, here is the syntax :</p>

<pre><code>$data['trees'] = (new Tree())-&gt;where('parent_id',0)-&gt;get(); 
</code></pre>

<p>On my WAMP it runs on PHP 5.4.3, on the server it gives me the following error:</p>

<blockquote>
  <p>Parse error: syntax error, unexpected T_OBJECT_OPERATOR</p>
</blockquote>
