I have an array that is structured like this:
[33] => Array ( [time] => 1285571561 [user] => test0 ) [34] => Array (
Another solution cold be:
$value = $arr[count($arr) - 1];
The above will count the amount of array values, substract 1 and then return the value.
Note: This can only be used if your array keys are numeric.