original_string: public static function normalize($arr)
    {
      if (!is_array($arr)) {
        return array();
      }
  
      $normalized = array();
      foreach ($arr as $key => $val) {
        $normalized[strtolower($key)] = $val;
      }
      return $normalized;
    }
code: public static function normalize($arr)
    {
      if (!is_array($arr)) {
        return array();
      }
  
      $normalized = array();
      foreach ($arr as $key => $val) {
        $normalized[strtolower($key)] = $val;
      }
      return $normalized;
    }
code_tokens: public static function normalize ( $ arr ) { if ( ! is_array ( $ arr ) ) { return array ( ) ; } $ normalized = array ( ) ; foreach ( $ arr as $ key => $ val ) { $ normalized [ strtolower ( $ key ) ] = $ val ; } return $ normalized ; }
docstring: Normalize all keys in an array to lower-case.
  @param array $arr
  @return array Normalized array.
docstring_tokens: Normalize all keys in an array to lower - case .