original_string: public function getSize()
      {
          if (is_resource($this->stream) === true) {
              $stats = fstat($this->stream);
              if (isset($stats['size'])) {
                  return $stats['size'];
              }
          }
          return null;
      }
code: public function getSize()
      {
          if (is_resource($this->stream) === true) {
              $stats = fstat($this->stream);
              if (isset($stats['size'])) {
                  return $stats['size'];
              }
          }
          return null;
      }
code_tokens: public function getSize ( ) { if ( is_resource ( $ this -> stream ) === true ) { $ stats = fstat ( $ this -> stream ) ; if ( isset ( $ stats [ 'size' ] ) ) { return $ stats [ 'size' ] ; } } return null ; }
docstring: Get the size of the stream if known
docstring_tokens: Get the size of the stream if known