Hey guys.

What are you thinking about adding this feature:

<?php
function foo()
{
   return array(1,2,3,4,5,6);
}

echo foo()[4];  //  <---- it that
// or may be (foo())[4] ?


// instead of
$var = foo();
echo $var[4];
?>

--
Thanks, Dmitry

Reply via email to