original_string: public function DKIM_BodyC($body)
      {
          if ($body == '') {
              return "\r\n";
          }
          // stabilize line endings
          $body = str_replace("\r\n", "\n", $body);
          $body = str_replace("\n", "\r\n", $body);
          // END stabilize line endings
          while (substr($body, strlen($body) - 4, 4) == "\r\n\r\n") {
              $body = substr($body, 0, strlen($body) - 2);
          }
          return $body;
      }
code: public function DKIM_BodyC($body)
      {
          if ($body == '') {
              return "\r\n";
          }
          // stabilize line endings
          $body = str_replace("\r\n", "\n", $body);
          $body = str_replace("\n", "\r\n", $body);
          // END stabilize line endings
          while (substr($body, strlen($body) - 4, 4) == "\r\n\r\n") {
              $body = substr($body, 0, strlen($body) - 2);
          }
          return $body;
      }
code_tokens: public function DKIM_BodyC ( $ body ) { if ( $ body == '' ) { return "\r\n" ; } // stabilize line endings $ body = str_replace ( "\r\n" , "\n" , $ body ) ; $ body = str_replace ( "\n" , "\r\n" , $ body ) ; // END stabilize line endings while ( substr ( $ body , strlen ( $ body ) - 4 , 4 ) == "\r\n\r\n" ) { $ body = substr ( $ body , 0 , strlen ( $ body ) - 2 ) ; } return $ body ; }
docstring: Generate a DKIM canonicalization body.
  @access public
  @param string $body Message Body
  @return string
docstring_tokens: Generate a DKIM canonicalization body .