function Global / last

last

last ( ) : mixed

Get the last element from an array.

Parameters

  • $array array