I have an array like this:
[33] => Array
(
[time] => 1285571561
[user] => test0
)
[34] => Array
(
[time] => 1285571659
[user] => test1
)
[35] => Array
(
[time] => 1285571682
[user] => test2
)
How i can get the last value in the array, but maintaining the index [35]?
Edit: my goal is get something like this:
[35] => Array
(
[time] => 1285571682
[user] => test2
)