Voting

: two plus five?
(Example: nine)

The Note You're Voting On

mostefa dot medjahed dot pro at gmail dot com
4 years ago
As was said before, the push () and pop () methods on a SplQueue object, its behave like a stack rather than a queue.

Knowing that the enqueue () and dequeue () methods are respectively aliases of push () and shift () methods, we can also use SplQueue :: push () and SplQueue :: shift () for the same purpose as SplQueue :: enqueue and SplQueue :: dequeue.

<< Back to user notes page

To Top