title: What is unexpected T_VARIABLE in PHP?
body: <p>I get this PHP error:</p>
  
  <blockquote>
    <p>Parse error: syntax error, unexpected
    T_VARIABLE</p>
  </blockquote>
  
  <p>From this line:</p>
  
  <pre><code>$list[$i][$docinfo['attrs']['@groupby']] = $docinfo['attrs']['@count'];
  </code></pre>
  
  <p>Is there anything wrong with this line?</p>