title: I have an array in Yii - how do I print array elements?
body: <pre><code>$departmentServiceData = Yii::app()-&gt;session-&gt;get('branch_service');
  
  CUtil::printArray($departmentServiceData);
  </code></pre>
  
  <p>I got this array.</p>
  
  <pre><code>Array
  (
  [0] =&gt; Array
      (
          [1] =&gt; Array
              (
                  [0] =&gt; s11
                  [1] =&gt; s12
              )
  
      )
  
  [1] =&gt; Array
      (
          [2] =&gt; Array
              (
                  [0] =&gt; s21
                  [1] =&gt; s22
                  [2] =&gt; s23
              )
  
      )
  
  )
  </code></pre>
  
  <p>How do I print this array element?</p>