title: Comment associative array in PHP Documentor
body: <p>I use several associative arrays in my PHP application and I'm using PHP documentor to comment my sources. I never really did specify comments for the arrays in an array, but now I need to do that and don't know how.</p>
  
  <pre><code>$array = array('id' =&gt; 'test', 'class' =&gt; 'tester', 'options' =&gt; array('option1' =&gt; 1, 'option2' =&gt; 2))
  </code></pre>
  
  <p>How do I comment this array in the correct way for <code>@var</code> and <code>@param</code> comments?
  I could do this like this, but I don't know if this is correct:</p>
  
  <pre><code>@param string $array['id']
  @param string $array['class']
  @param int $array['options']['option1']
  </code></pre>
  
  <p>But how to do this for the <code>@var</code> part?</p>