title: Why am I getting Unexpected T_STRING with this wordpress function?
body: <p>I am piecing together a custom post type from the wordpress codex. However, anytime I add more than the first two arguments to the array, I get an error.</p>
  
  <pre><code>add_action( 'init', 'create_my_post_types' );
  
  function create_my_post_types() {
      register_post_type( 'super_duper',
          array(
              'labels' =&gt; array(
                  'name' =&gt; __( 'Super Dupers' ),
                  'singular_name' =&gt; __( 'Super Duper' ),
                  'add_new' =&gt; __( 'Add New' ),
                  'add_new_item' =&gt; __( 'Add New Super Duper' ),
                  'edit' =&gt; __( 'Edit' ),
                  'edit_item' =&gt; __( 'Edit Super Duper' ),
                  'new_item' =&gt; __( 'New Super Duper' ),
                  'view' =&gt; __( 'View Super Duper' ),
                  'view_item' =&gt; __( 'View Super Duper' ),
                  'search_items' =&gt; __( 'Search Super Dupers' ),
                  'not_found' =&gt; __( 'No super dupers found' ),
                  'not_found_in_trash' =&gt; __( 'No super dupers found in Trash' ),
              ),
              'public' =&gt; true,
          )
      );
  }
  </code></pre>
  
  <p>This is the error: </p>
  
  <pre><code>Parse error: syntax error, unexpected T_STRING in /home/prayerpi/public_html/wp-content/themes/twentyeleven/functions.php on line 611
  </code></pre>
  
  <p>Line 611 is:</p>
  
  <pre><code>'labels' =&gt; array(
  </code></pre>
  
  <p>Here is the <a href="http://codex.wordpress.org/Function_Reference/register_post_type" rel="nofollow">link</a> to the register_post_type codex.</p>