A::last()
Returns the last element of an array
A::last(array $array): mixed|null
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $array * | array |
– | The source array |
Return type
mixed|null
Returns the last element of an array
A::last(array $array): mixed|null
| Name | Type | Default | Description |
|---|---|---|---|
| $array * | array |
– | The source array |
mixed|null