PHP » PYTHON |
login |
register |
about
|
def end(tmp): return tmp[-1] end(PHP 4, PHP 5) end — Set the internal pointer of an array to its last element Descriptionend() advances array 's internal pointer to the last element, and returns its value. Parameters
Return ValuesReturns the value of the last element or FALSE for empty array. Examples
Example #1 end() example
<?php
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|