title: PHP Parse error: syntax error, unexpected T_DEFAULT
body: <p>I receive this error <strong>Parse error: syntax error, unexpected T_DEFAULT in ../../functions.php on line 22</strong></p>
  
  <p>Here is functions.php section around line 22("default" specifically is line 22):</p>
  
  <pre><code>&lt;?php
          break;
      default :
  ?&gt;
  </code></pre>
  
  <p>It's default code from Wordpress' TwentyEleven functions.php, and unfortunately I'm still very much learning PHP so I'm not at all sure why the error is occurring. Any ideas?</p>
  
  <p>ETA here is the full functions.php</p>
  
  <pre><code>if ( ! function_exists( 'twentyeleven_comment' ) ) :
  /**
   * Template for comments and pingbacks.
   *
   * To override this walker in a child theme without modifying the comments template
   * simply create your own twentyeleven_comment(), and that function will be used instead.
   *
   * Used as a callback by wp_list_comments() for displaying the comments.
   *
   * @since Twenty Eleven 1.0
   */
  function twentyeleven_comment( $comment, $args, $depth ) {
      $GLOBALS['comment'] = $comment;
      switch ( $comment-&gt;comment_type ) :
          case 'pingback' :
          case 'trackback' :
      ?&gt;
      &lt;li class="post pingback"&gt;
          &lt;p&gt;&lt;?php _e( 'Pingback:', 'twentyeleven' ); ?&gt; &lt;?php comment_author_link(); ?&gt;&lt;?php edit_comment_link( __( 'Edit', 'twentyeleven' ), '&lt;span class="edit-link"&gt;', '&lt;/span&gt;' ); ?&gt;&lt;/p&gt;
      &lt;?php
              break;
          default :
      ?&gt;
      &lt;li &lt;?php comment_class(); ?&gt; id="li-comment-&lt;?php comment_ID(); ?&gt;"&gt;
          &lt;article id="comment-&lt;?php comment_ID(); ?&gt;" class="comment"&gt;
              &lt;footer class="comment-meta"&gt;
                  &lt;div class="comment-author vcard"&gt;
                      &lt;?php
                          $avatar_size = 68;
                          if ( '0' != $comment-&gt;comment_parent )
                              $avatar_size = 39;
  
                          echo get_avatar( $comment, $avatar_size );
  
                          /* translators: 1: comment author, 2: date and time */
                          printf( __( '%1$s on %2$s &lt;span class="says"&gt;said:&lt;/span&gt;', 'twentyeleven' ),
                              sprintf( '&lt;span class="fn"&gt;%s&lt;/span&gt;', get_comment_author_link() ),
                              sprintf( '&lt;a href="%1$s"&gt;&lt;time pubdate datetime="%2$s"&gt;%3$s&lt;/time&gt;&lt;/a&gt;',
                                  esc_url( get_comment_link( $comment-&gt;comment_ID ) ),
                                  get_comment_time( 'c' ),
                                  /* translators: 1: date, 2: time */
                                  sprintf( __( '%1$s at %2$s', 'twentyeleven' ), get_comment_date(), get_comment_time() )
                              )
                          );
                      ?&gt;
  
                      &lt;?php edit_comment_link( __( 'Edit', 'twentyeleven' ), '&lt;span class="edit-link"&gt;', '&lt;/span&gt;' ); ?&gt;
                  &lt;/div&gt;&lt;!-- .comment-author .vcard --&gt;
  
                  &lt;?php if ( $comment-&gt;comment_approved == '0' ) : ?&gt;
                      &lt;em class="comment-awaiting-moderation"&gt;&lt;?php _e( 'Your comment is awaiting moderation.', 'twentyeleven' ); ?&gt;&lt;/em&gt;
                      &lt;br /&gt;
                  &lt;?php endif; ?&gt;
  
              &lt;/footer&gt;
  
              &lt;div class="comment-content"&gt;&lt;?php comment_text(); ?&gt;&lt;/div&gt;
  
              &lt;div class="reply"&gt;
                  &lt;?php comment_reply_link( array_merge( $args, array( 'reply_text' =&gt; __( 'Reply &lt;span&gt;&amp;darr;&lt;/span&gt;', 'twentyeleven' ), 'depth' =&gt; $depth, 'max_depth' =&gt; $args['max_depth'] ) ) ); ?&gt;
              &lt;/div&gt;&lt;!-- .reply --&gt;
          &lt;/article&gt;&lt;!-- #comment-## --&gt;
  
      &lt;?php
              break;
      endswitch;
  }
  endif; // ends check for twentyeleven_comment()
  </code></pre>