title: Auto incrementing number in PHP foreach loop
body: <p>This is the beginning of a php for loop.  I would like to edit it so that 'INSERT NUMBER HERE' gets replaced with an incrementing number.  Ie. first loop it would be 1, then 2, then 3 etc.</p>
  
  <pre><code>&lt;?php foreach ($_productCollection as $_product): ?&gt;
      &lt;div style="float: left; font-size: 120px;height:50px;padding-top:50px; color:#ccc"&gt;INSERT NUMBER HERE&lt;/div&gt;
      &lt;div class="listing-item&lt;?php if( ++$_iterator == sizeof($_productCollection) ): ?&gt; last&lt;?php endif; ?&gt;"&gt;
  </code></pre>
  
  <p>How can I achieve this?</p>
  
  <p>Thanks</p>