PHP Ds Deque first() 函数
Ds\Deque::first() 函数可以返回双向队列中的第一个值。
语法
Ds\Deque::first()函数没有任何参数。这个函数可以返回双端队列中的第一个值。
Ds\Deque::first()函数如果为空,可能会抛出UnderflowException。
Ds\Deque::first() 函数可以返回双向队列中的第一个值。
Ds\Deque::first()函数没有任何参数。这个函数可以返回双端队列中的第一个值。
Ds\Deque::first()函数如果为空,可能会抛出UnderflowException。