classes/phing/system/io/InputStream.php
public function reset()
    {
        if (!$this->markSupported()) {
            throw new IOException(get_class($this) . " does not support mark() and reset() methods.");
        }
        // goes back to last mark, by default this would be 0 (i.e. rewind file).
        fseek($this->stream, SEEK_SET, $this->mark);
        $this->mark = 0;
    }
public function reset()
    {
        if (!$this->markSupported()) {
            throw new IOException(get_class($this) . " does not support mark() and reset() methods.");
        }
        // goes back to last mark, by default this would be 0 (i.e. rewind file).
        fseek($this->stream, SEEK_SET, $this->mark);
        $this->mark = 0;
    }
public function reset ( ) { if ( ! $ this -> markSupported ( ) ) { throw new IOException ( get_class ( $ this ) . " does not support mark() and reset() methods." ) ; } // goes back to last mark, by default this would be 0 (i.e. rewind file). fseek ( $ this -> stream , SEEK_SET , $ this -> mark ) ; $ this -> mark = 0 ; }
Repositions this stream to the position at the time the mark method was last called on this input stream.

@throws IOException - if the underlying stream doesn't support this method.
Repositions this stream to the position at the time the mark method was last called on this input stream .