If abc() returns an array, is there any possible notation that lets me access a single element?

        echo abc()[0];   // I wish this were possible

...instead of having to use an intermediate variable?

        $temp = abc();   // $temp is ugly
        echo $temp[0];

Richard



_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to