original_string: public function calculateHash($recursive = false) {
          if (!$this->loaded) {
              $this->hash = null;
          } else {
              $defaulthash = is_null($this->default) ? '' : sha1($this->default);
              $key = $this->name . $this->type . $this->length .
                     $this->notnull . $this->sequence .
                     $this->decimals . $this->comment . $defaulthash;
              $this->hash = md5($key);
          }
      }
code: public function calculateHash($recursive = false) {
          if (!$this->loaded) {
              $this->hash = null;
          } else {
              $defaulthash = is_null($this->default) ? '' : sha1($this->default);
              $key = $this->name . $this->type . $this->length .
                     $this->notnull . $this->sequence .
                     $this->decimals . $this->comment . $defaulthash;
              $this->hash = md5($key);
          }
      }
code_tokens: public function calculateHash ( $ recursive = false ) { if ( ! $ this -> loaded ) { $ this -> hash = null ; } else { $ defaulthash = is_null ( $ this -> default ) ? '' : sha1 ( $ this -> default ) ; $ key = $ this -> name . $ this -> type . $ this -> length . $ this -> notnull . $ this -> sequence . $ this -> decimals . $ this -> comment . $ defaulthash ; $ this -> hash = md5 ( $ key ) ; } }
docstring: This function calculate and set the hash of one xmldb_field
  @param bool $recursive
  @return void, modifies $this->hash
docstring_tokens: This function calculate and set the hash of one xmldb_field