PHP » GoLang |
login |
register |
about
|
GoLang Ds\Sequence::last
request it (368)
GoLang replacement for PHP's Ds\Sequence::last
[edit | history]
Ds\Sequence::last(PECL ds >= 1.0.0) Ds\Sequence::last — Returns the last value DescriptionReturns the last value in the sequence. ParametersThis function has no parameters. Return ValuesThe last value in the sequence. Errors/ExceptionsUnderflowException if empty. ExamplesExample #1 Ds\Sequence::last() example
<?php The above example will output something similar to: int(3) |
more
Recently updated
more
Most requested
more
Last requests
|