I m wondering if this kind of thing will ever be possible in PHP (and whether it already is and I m just missing something...)
<?php
function test() {
return array(
id =>10,
name => John
);
}
echo Your name is: .test()[ name ];
?>
I d really like to be able to use returned arrays directly instead of first assigning them to a var... possible?