|
Ds\Set::firstReturns the first value in the set. Description
public void Ds\Set::first
( void
)
Returns the first value in the set. ParametersThis function has no parameters. Return ValuesThe first value in the set. Errors/ExceptionsUnderflowException if empty. ExamplesExample #1 Ds\Set::first example
<?php The above example will output something similar to: int(1) |