title: PHP - Loop through letter backwards
body: <p>I have noticed some strange behaviour in PHP while trying to loop through letters:</p>
  
  <pre><code>for($i='a'; $i&lt;='c'; $i++)
    echo $i;
  </code></pre>
  
  <p>gives the expected <code>abc</code>, but if I want to reverse it</p>
  
  <pre><code>for($i='c'; $i&gt;='a'; $i--)
    echo $i;
  </code></pre>
  
  <p>I end up in an infinite loop, returning and endless string of <code>c</code></p>
  
  <p>It seems like the <code>$i--</code> does not have any effect on chars.
  Is there a way i can do this loop anyway without using ASCII tables, to keep it as understandable as possible to read?</p>