original_string: public function seek($offset, $whence = SEEK_SET)
      {
          if ($this->_filename === 'php://input' && $this->eof() && !$offset && $whence === SEEK_SET) {
              $this->close();
              $this->_resource = fopen($this->_filename, 'r');
          }
          $this->_ensureSeekable();
          fseek($this->_resource, $offset, $whence);
          return ftell($this->_resource);
      }
code: public function seek($offset, $whence = SEEK_SET)
      {
          if ($this->_filename === 'php://input' && $this->eof() && !$offset && $whence === SEEK_SET) {
              $this->close();
              $this->_resource = fopen($this->_filename, 'r');
          }
          $this->_ensureSeekable();
          fseek($this->_resource, $offset, $whence);
          return ftell($this->_resource);
      }
code_tokens: public function seek ( $ offset , $ whence = SEEK_SET ) { if ( $ this -> _filename === 'php://input' && $ this -> eof ( ) && ! $ offset && $ whence === SEEK_SET ) { $ this -> close ( ) ; $ this -> _resource = fopen ( $ this -> _filename , 'r' ) ; } $ this -> _ensureSeekable ( ) ; fseek ( $ this -> _resource , $ offset , $ whence ) ; return ftell ( $ this -> _resource ) ; }
docstring: Seek on the stream.
  
  @param integer $offset The offset.
  @param integer $whence Accepted values are:
  - SEEK_SET - Set position equal to $offset bytes.
  - SEEK_CUR - Set position to current location plus $offset.
  - SEEK_END - Set position to end-of-file plus $offset.
docstring_tokens: Seek on the stream .