(Available since version 1.0)
The Queue class provides the main functionalities of a queue implemented using a singly linked list.
It provides the interface as SplQueue and can therefore be used as a drop-in replacement.
Please note that as this is implemented in PHP it will probably be slower in practice than SplQueue (which is implemented in C). It is therefore only recommended for experimental purposes.