Php Syntax Error Unexpected T_break
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more expecting endswitch (t_endswitch) or case (t_case) or default (t_default) about Stack Overflow the company Business Learn more about hiring developers or posting ads parse error: syntax error, unexpected 'case' (t_case) with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack php switch case Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up PHP Parse error: syntax error, unexpected T_DEFAULT up vote 0 down vote favorite I receive this error Parse error: syntax error, unexpected T_DEFAULT in ../../functions.php on line 22 Here is functions.php section around line 22("default" specifically is line 22): 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? ETA here is the full functions.php 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->comment_type ) : case 'pingback' : case 'trackback' : ?>
', '' ); ?>