insert-coin/resources/library/array.php

11 lines
137 B
PHP
Raw Normal View History

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