title: PHP Fatal error: Cannot re-assign $this
body: <p>I get this error from my script:</p>
  
  <pre><code>[Fri Apr 23 10:57:42 2010] [error] [client 10.0.0.1] PHP Fatal error:  Cannot re-assign $this in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\abp\\fol\\test.php on line 27, referer: http://abp.bhc.com/fol/
  </code></pre>
  
  <p>Here is the code which produces the error:</p>
  
  <pre><code>&lt;?php
  $voiceboxes = array(
      '141133'    =&gt; array(
          'title' =&gt; 'Title',
          '1'     =&gt; array(
              'Title' =&gt; 'Title2',
              'Link'  =&gt; 'http://...',
          ),
          '12'    =&gt; array(
              'Title' =&gt; 'Title3',
              'Link'  =&gt; 'http://...',
          )
      ),
      '1070453'   =&gt; array(
          'title' =&gt; 'Title4',
          '1'     =&gt; array(
              'Title' =&gt; 'Title5',
              'Link'  =&gt; 'http://...',
          )
      )
  );
  $last = 0;
  //$this = 0;
  echo "&lt;ol&gt;\n";
  foreach ($voiceboxes as $key =&gt; $value) {
      $last = 0;
      $this = null; //Error is thrown here, Line 27
      //$voiceboxes[$key]['title']
      echo "&lt;ol&gt;\n";
      foreach ($value as $key2 =&gt; $value2) {
          if ($key2 == 'title') {
              echo "&lt;li&gt;$value2&lt;/li&gt;\n";
          } else {
              $this = (int) $key2;
              if ($this == $last + 1) {
                  echo '&lt;li&gt;';
              } else { '&lt;li value="' . $key2 . '"&gt;';}
              $last = $key2;
              echo $voiceboxes[$key][$key2]['Title'] . "&lt;br/&gt;" . $voiceboxes[$key][$key2]['Link'] . '&lt;/li&gt;' . "\n";
          }
      }
      echo "&lt;/ol&gt;\n";
  }
  </code></pre>