it is easy to read the first value in the array below - but how to read the last value without deleting or looping with e.g. foreach?
$message_rate_array[0]['messages']
sample array (real size is not foreseeable):
Array
(
[0] => Array
(
[messages] => 30584709
[time] => 1508147394
)
[1] => Array
(
[messages] => 30585992
[time] => 1508147395
)
[2] => Array
(
[messages] => 30587416
[time] => 1508147396.1
)
[3] => Array
(
[messages] => 30588721
[time] => 1508147397.1
)
)