Chaining a constructor with an object function call in PHP
<p>Does anyone know if the following expression will be possible in the next version(s) of PHP?</p>

<pre><code>(new A())-&gt;a();    // Causes a syntax error
</code></pre>

<p>I find very annoying that currently one must write 2 lines instead of 1:</p>

<pre><code>$c = new A();
$c-&gt;a();
</code></pre>
