PHP - Manual: Ds\Queue
2025-02-27
(PECL ds >= 1.0.0)
A Queue is a “first in, first out” or “FIFO” collection that only allows access to the value at the front of the queue and iterates in that order, destructively.
$capacity
...$values
Ds\Queue::MIN_CAPACITY
官方地址:https://www.php.net/manual/en/class.ds-queue.php