code: public function current()
      {
          if (!$this->isOrdered) {
              usort($this->storage, array($this, 'compare'));
              $this->isOrdered = true;
          }
  
          $data = $this->storage[$this->pointer][1];
  
          return $data;
      }
docs: (PHP 5 &gt;= 5.1.0)<br/>
  Return the current element
  @link http://php.net/manual/en/iterator.current.php
  @return mixed Can return any type.