original_string: public function offset($offset = false, $seek = SEEK_SET)
      {
          if ($offset === false) {
              if (is_resource($this->handle)) {
                  return ftell($this->handle);
              }
          } elseif ($this->open() === true) {
              return fseek($this->handle, $offset, $seek) === 0;
          }
  
          return false;
      }
code: public function offset($offset = false, $seek = SEEK_SET)
      {
          if ($offset === false) {
              if (is_resource($this->handle)) {
                  return ftell($this->handle);
              }
          } elseif ($this->open() === true) {
              return fseek($this->handle, $offset, $seek) === 0;
          }
  
          return false;
      }
code_tokens: public function offset ( $ offset = false , $ seek = SEEK_SET ) { if ( $ offset === false ) { if ( is_resource ( $ this -> handle ) ) { return ftell ( $ this -> handle ) ; } } elseif ( $ this -> open ( ) === true ) { return fseek ( $ this -> handle , $ offset , $ seek ) === 0 ; } return false ; }
docstring: Sets or gets the offset for the currently opened file.
  
  @param int|bool $offset The $offset in bytes to seek. If set to false then the current offset is returned.
  @param int $seek PHP Constant SEEK_SET | SEEK_CUR | SEEK_END determining what the $offset is relative to
  @return int|bool True on success, false on failure (set mode), false on failure or integer offset on success (get mode)
docstring_tokens: Sets or gets the offset for the currently opened file .