I\'m working on a program that uses PHP\'s internal array pointers to iterate along a multidimensional array. I need to get an element from the current row, and I\'ve been d
I very much doubt there is such a function, but it's trivial to write
function getvalue($array, $key) { return $array[$key]; }
Edit: As of PHP 5.4, you can index array elements directly from function expressions, current($arr)['item'].
current($arr)['item']