original_string: public function tell(): int
      {
          if (null === $this->handle) {
              throw new \LogicException('Can not read from closed input stream.');
          }
  
          $position = @ftell($this->handle);
          if (false === $position) {
              throw new StreamException(
                      'Can not read current position in file: '
                      . lastErrorMessage('unknown error')
              );
          }
  
          return $position;
      }
code: public function tell(): int
      {
          if (null === $this->handle) {
              throw new \LogicException('Can not read from closed input stream.');
          }
  
          $position = @ftell($this->handle);
          if (false === $position) {
              throw new StreamException(
                      'Can not read current position in file: '
                      . lastErrorMessage('unknown error')
              );
          }
  
          return $position;
      }
code_tokens: public function tell ( ) : int { if ( null === $ this -> handle ) { throw new \ LogicException ( 'Can not read from closed input stream.' ) ; } $ position = @ ftell ( $ this -> handle ) ; if ( false === $ position ) { throw new StreamException ( 'Can not read current position in file: ' . lastErrorMessage ( 'unknown error' ) ) ; } return $ position ; }
docstring: return current position
  
  @return  int
  @throws  \LogicException
  @throws  \stubbles\streams\StreamException
docstring_tokens: return current position