original_string: private function get_list_of_printable_allowed_tags($allowedhtmltags) {
          $allowedtaglist = array();
          foreach ($allowedhtmltags as $htmltag) {
              $allowedtaglist[] = htmlspecialchars('<' . $htmltag . '>');
          }
          return implode(', ', $allowedtaglist);
      }
code: private function get_list_of_printable_allowed_tags($allowedhtmltags) {
          $allowedtaglist = array();
          foreach ($allowedhtmltags as $htmltag) {
              $allowedtaglist[] = htmlspecialchars('<' . $htmltag . '>');
          }
          return implode(', ', $allowedtaglist);
      }
code_tokens: private function get_list_of_printable_allowed_tags ( $ allowedhtmltags ) { $ allowedtaglist = array ( ) ; foreach ( $ allowedhtmltags as $ htmltag ) { $ allowedtaglist [ ] = htmlspecialchars ( '<' . $ htmltag . '>' ) ; } return implode ( ', ' , $ allowedtaglist ) ; }
docstring: Returns a prinatble list of allowed HTML tags.
  
  @param array $allowedhtmltags An array for tag strings that are allowed
  @return string A printable list of tags
docstring_tokens: Returns a prinatble list of allowed HTML tags .