classes/phing/system/io/InputStream.php
public function mark()
    {
        if (!$this->markSupported()) {
            throw new IOException(get_class($this) . " does not support mark() and reset() methods.");
        }
        $this->mark = $this->currentPosition;
    }
public function mark()
    {
        if (!$this->markSupported()) {
            throw new IOException(get_class($this) . " does not support mark() and reset() methods.");
        }
        $this->mark = $this->currentPosition;
    }
public function mark ( ) { if ( ! $ this -> markSupported ( ) ) { throw new IOException ( get_class ( $ this ) . " does not support mark() and reset() methods." ) ; } $ this -> mark = $ this -> currentPosition ; }
Marks the current position in this input stream.

@throws IOException - if the underlying stream doesn't support this method.
Marks the current position in this input stream .