Generic queue implementation of PHP-Queue.