insert-coin/res/library/array.php

11 lines
137 B
PHP
Raw Permalink Normal View History

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