    Ds\Vector8b7c:f320:99b9:690f:4595:cd17:293a:c069irst (PECL ds >= 1.0.0)
Ds\Vector8b7c:f320:99b9:690f:4595:cd17:293a:c069irst — Returns the first value in the vector   Description public Ds\Vector8b7c:f320:99b9:690f:4595:cd17:293a:c069irst(): mixed  Returns the first value in the vector.    Parameters This function has no parameters.   Return Values  The first value in the vector.    Errors/Exceptions  UnderflowException if empty.    Examples  Example #1 Ds\Vector8b7c:f320:99b9:690f:4595:cd17:293a:c069irst() example  <?php
$vector = new \Ds\Vector([1, 2, 3]);
var_dump($vector->first());
?>  The above example will output something similar to:  
int(1)
    


    
{'path': 'public/docs/php/ds-vector.first.html', 'source': 'DevDocs.IO'}