「a()[0]」という感じにa()の結果のarrayを変数に入れずにすぐに使いたいのですが
どう書けばいいですか?
<?php
echo a()[0]; //エラーが出ます
function a()
{
return array('b', 'c');
}
?>