title: PHP: using variables in associative arrays?
body: <p>it seems I missed something important about arrays in PHP.</p>
  
  <p>What's wrong with this:</p>
  
  <pre><code>var $condition = array('Status.name = ' =&gt; 'PUBLISHED');
  var $paginate = array('conditions' =&gt; $condition );
  </code></pre>
  
  <p>this works just fine:</p>
  
  <pre><code>var $paginate = array('conditions' =&gt; array('Status.name = ' =&gt; 'PUBLISHED' ));
  </code></pre>