array End Tutorials

end

Syntax: mixed end ( array &$array ) Description: Set the internal pointer of an array to its last element <?php $fruits = array('apple', 'banana', 'cranberry'); echo end($fruits); ?> OUTPUT cranberry... Read More »