insert-coin/resources/library/array.php
2018-10-07 03:36:19 -05:00

11 lines
137 B
PHP

<?php
// ARRAY --> LAST_ELEMENT_OF_ARRAY
// Get the last element in an array.
function last($array)
{
$array[count($array) - 1];
}
?>