original_string: public function parseNewLineSeparatedBody($body)
      {
          $data = array();
  
          if (!$body) {
              return $data;
          }
  
          $parts = preg_split("/\\r?\\n/", $body);
          foreach ($parts as $str) {
              if (!$str) {
                  continue;
              }
  
              list ($key, $value) = explode('=', $str);
              $data[$key] = $value;
          }
  
          return $data;
      }
code: public function parseNewLineSeparatedBody($body)
      {
          $data = array();
  
          if (!$body) {
              return $data;
          }
  
          $parts = preg_split("/\\r?\\n/", $body);
          foreach ($parts as $str) {
              if (!$str) {
                  continue;
              }
  
              list ($key, $value) = explode('=', $str);
              $data[$key] = $value;
          }
  
          return $data;
      }
code_tokens: public function parseNewLineSeparatedBody ( $ body ) { $ data = array ( ) ; if ( ! $ body ) { return $ data ; } $ parts = preg_split ( "/\\r?\\n/" , $ body ) ; foreach ( $ parts as $ str ) { if ( ! $ str ) { continue ; } list ( $ key , $ value ) = explode ( '=' , $ str ) ; $ data [ $ key ] = $ value ; } return $ data ; }
docstring: Separates given string in key value parts.
  
  @param string $body
  @return array
docstring_tokens: Separates given string in key value parts .