Background
In every other programming language I use on a regular basis, it is simple to operate on the return value of a function without declaring
Write a wrapper function that will accomplish the same. Because of PHP's easy type-casting this can be pretty open-ended:
function array_value ($array, $key) { return $array[$key]; }