title: Can you append strings to variables in PHP?
body: <p>Why does the following code output 0?</p>
  
  <p>It works with numbers instead of strings just fine. I have similar code in JavaScript that also works. Does PHP not like += with strings?</p>
  
  <pre><code>&lt;?php
      $selectBox = '&lt;select name="number"&gt;';
      for ($i=1; $i&lt;=100; $i++)
      {
          $selectBox += '&lt;option value="' . $i . '"&gt;' . $i . '&lt;/option&gt;';
      }
      $selectBox += '&lt;/select&gt;';
  
      echo $selectBox;
  ?&gt;
  </code></pre>