What does this not work in PHP $a= explode(' ', $loadFunction)[0];
<p>I am trying to access an array without using another varibale.</p>

<p>For example</p>

<pre><code>$loadFunction = "a b c d";

$a= explode(' ', $loadFunction)[0];
</code></pre>

<p>I get Parser error in PHP 5.3.3</p>

<p>any way to do that?</p>
