<?php require_once("queue.php"); $q=&new queue(); for($i=1;$i<=10; $i+=2) $q->push($i); $q->debug(); printf("The top of the queue is %d <br>",$q->top()); printf("The number of elements of the stack is %d <br>",$q->count()); while (!$q->isempty()) printf("Poped element %d , ",$q->pop()); ?>