original_string: protected function assocToString($array, $keyValueSeparator = ' - ', $pairSeparator = '; ')
      {
          if (! is_array($array)) {
              return print_r($array, true);
          }
  
          foreach ($array as $key => &$value) {
              $value = $key . $keyValueSeparator . $value;
          }
          return implode($pairSeparator, $array);
      }
code: protected function assocToString($array, $keyValueSeparator = ' - ', $pairSeparator = '; ')
      {
          if (! is_array($array)) {
              return print_r($array, true);
          }
  
          foreach ($array as $key => &$value) {
              $value = $key . $keyValueSeparator . $value;
          }
          return implode($pairSeparator, $array);
      }
code_tokens: protected function assocToString ( $ array , $ keyValueSeparator = ' - ' , $ pairSeparator = '; ' ) { if ( ! is_array ( $ array ) ) { return print_r ( $ array , true ) ; } foreach ( $ array as $ key => & $ value ) { $ value = $ key . $ keyValueSeparator . $ value ; } return implode ( $ pairSeparator , $ array ) ; }
docstring: Represent associative array as string
  
  @param array $array
  @param string $keyValueSeparator
  @param string $pairSeparator
  
  @return string
docstring_tokens: Represent associative array as string