original_string: public function getPos()
      {
          if ($this->_mode == 0) {
              if (feof($this->file)) {
                  $stat = fstat($this->file);
                  fseek($this->file, $stat['size']);
              }
  
              $pos = ftell($this->file);
  
              return $pos;
          } else {
              return 0;
          }
      }
code: public function getPos()
      {
          if ($this->_mode == 0) {
              if (feof($this->file)) {
                  $stat = fstat($this->file);
                  fseek($this->file, $stat['size']);
              }
  
              $pos = ftell($this->file);
  
              return $pos;
          } else {
              return 0;
          }
      }
code_tokens: public function getPos ( ) { if ( $ this -> _mode == 0 ) { if ( feof ( $ this -> file ) ) { $ stat = fstat ( $ this -> file ) ; fseek ( $ this -> file , $ stat [ 'size' ] ) ; } $ pos = ftell ( $ this -> file ) ; return $ pos ; } else { return 0 ; } }
docstring: Get the position in the file stream
  
  @return int
docstring_tokens: Get the position in the file stream