original_string: protected function mapHeaderKeys(array $headers)
      {
          $phpHeaders = array();
          foreach ($headers as $key => $value) {
              $phpHeaders['HTTP_' . str_replace('-', '_', strtoupper($key))] = $value;
          }
  
          return $phpHeaders;
      }
code: protected function mapHeaderKeys(array $headers)
      {
          $phpHeaders = array();
          foreach ($headers as $key => $value) {
              $phpHeaders['HTTP_' . str_replace('-', '_', strtoupper($key))] = $value;
          }
  
          return $phpHeaders;
      }
code_tokens: protected function mapHeaderKeys ( array $ headers ) { $ phpHeaders = array ( ) ; foreach ( $ headers as $ key => $ value ) { $ phpHeaders [ 'HTTP_' . str_replace ( '-' , '_' , strtoupper ( $ key ) ) ] = $ value ; } return $ phpHeaders ; }
docstring: Map header keys
  
  @param array $headers
  @return array
docstring_tokens: Map header keys