Implemented ParentQueues for PHP