src/datetime/OrderedList.php
public function current()
    {
        if (!$this->isOrdered) {
            usort($this->storage, array($this, 'compare'));
            $this->isOrdered = true;
        }

        $data = $this->storage[$this->pointer][1];

        return $data;
    }
public function current()
    {
        if (!$this->isOrdered) {
            usort($this->storage, array($this, 'compare'));
            $this->isOrdered = true;
        }

        $data = $this->storage[$this->pointer][1];

        return $data;
    }
(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.