a::last

Returns the last element of an array

a::last($array)

Parameters

$array (array)
The source array

Return values

mixed
The last element