src/Datastructure/Stackqueue/CircularBuffer.php
public function dequeue() {
        if ($this->isEmpty()) {
            return false;
        }
        $this->tail = $this->tail % $this->size;
        $data = $this->elements[$this->tail];
        $this->tail++;
        return $data;
    }
public function dequeue() {
        if ($this->isEmpty()) {
            return false;
        }
        $this->tail = $this->tail % $this->size;
        $data = $this->elements[$this->tail];
        $this->tail++;
        return $data;
    }
public function dequeue ( ) { if ( $ this -> isEmpty ( ) ) { return false ; } $ this -> tail = $ this -> tail % $ this -> size ; $ data = $ this -> elements [ $ this -> tail ] ; $ this -> tail ++ ; return $ data ; }
dequeues a value from the tail of the circular buffer.

@return mixed
dequeues a value from the tail of the circular buffer .