original_string: protected function write($string, $format = true)
      {
          if ($format) {
              $string .= $this->delimiter;
          }
  
          $string .= "\n";
  
          if (fwrite($this->file, $string, strlen($string)) === false) {
              throw new Exception('Unable to write '.strlen($string).' bytes to the dumpfile.');
          }
      }
code: protected function write($string, $format = true)
      {
          if ($format) {
              $string .= $this->delimiter;
          }
  
          $string .= "\n";
  
          if (fwrite($this->file, $string, strlen($string)) === false) {
              throw new Exception('Unable to write '.strlen($string).' bytes to the dumpfile.');
          }
      }
code_tokens: protected function write ( $ string , $ format = true ) { if ( $ format ) { $ string .= $ this -> delimiter ; } $ string .= "\n" ; if ( fwrite ( $ this -> file , $ string , strlen ( $ string ) ) === false ) { throw new Exception ( 'Unable to write ' . strlen ( $ string ) . ' bytes to the dumpfile.' ) ; } }
docstring: Writes a line to the file.
  
  @param string $string  The string to write
  @param bool   $format  Format the string
docstring_tokens: Writes a line to the file .