insert-coin/res/library/array.php
2019-02-14 09:39:29 -06: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];
}
?>