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