original_string: public static function renderTable(
          array $head = [], 
          array $body = [], 
          array $attributes = []
      ) : string 
      {
          $strHead = "";
          $strBody = "";
          
          foreach ($head as $thRow) {
              $strHead .= self::renderTableHeaderRow($thRow);
          }
          if ($strHead != "") {
              $strHead = self::thead($strHead);
          }
          
          foreach ($body as $tr) {
              $strBody .= self::renderTableRow($tr);
          }
          if ($strBody != "") {
              $strBody = self::tbody($strBody);
          }
          
          return self::tag("table", $strHead.$strBody, $attributes);
      }
code: public static function renderTable(
          array $head = [], 
          array $body = [], 
          array $attributes = []
      ) : string 
      {
          $strHead = "";
          $strBody = "";
          
          foreach ($head as $thRow) {
              $strHead .= self::renderTableHeaderRow($thRow);
          }
          if ($strHead != "") {
              $strHead = self::thead($strHead);
          }
          
          foreach ($body as $tr) {
              $strBody .= self::renderTableRow($tr);
          }
          if ($strBody != "") {
              $strBody = self::tbody($strBody);
          }
          
          return self::tag("table", $strHead.$strBody, $attributes);
      }
code_tokens: public static function renderTable ( array $ head = [ ] , array $ body = [ ] , array $ attributes = [ ] ) : string { $ strHead = "" ; $ strBody = "" ; foreach ( $ head as $ thRow ) { $ strHead .= self :: renderTableHeaderRow ( $ thRow ) ; } if ( $ strHead != "" ) { $ strHead = self :: thead ( $ strHead ) ; } foreach ( $ body as $ tr ) { $ strBody .= self :: renderTableRow ( $ tr ) ; } if ( $ strBody != "" ) { $ strBody = self :: tbody ( $ strBody ) ; } return self :: tag ( "table" , $ strHead . $ strBody , $ attributes ) ; }
docstring: Put all elements together to form a standard table
  
  @param array $head two dimensional rows and cells (no keys)
  @param array $body two dimensional rows and cells (no keys)
  @param array $attributes
  @return string   Compiled HTML Table
docstring_tokens: Put all elements together to form a standard table