title: Different behavior in Laravel Homestead & Laravel Forge
body: <p>I had a simple mistake in my PHP Code:</p>
  
  <pre><code>$string += 'something' . $Car-&gt;id . ',';
  </code></pre>
  
  <p>Which resulted in different behavior in Homestead and Forge:</p>
  
  <p>Homestead Result of $string:</p>
  
  <blockquote>
    <p>0</p>
  </blockquote>
  
  <p>Forge Result:</p>
  
  <blockquote>
    <p>Error: A non-numeric value encountered</p>
  </blockquote>
  
  <p>Does Anybody know why? And how can I change the Homestead behavior to the same like the forge one? It's absolutely better..</p>
  
  <hr>
  
  <p>Update</p>
  
  <p>I'm sorry I wasn't totally clear in my question. The question wasn't about the mistake itself += instead of .=, I was aware of that. </p>
  
  <p>The question is why in one environment the error appears and in the other one not. </p>
  
  <p>Both environments are configured the same way (php.ini):</p>
  
  <pre><code>error_reporting = E_ALL
  display_errors = On
  </code></pre>
  
  <p>And it was not just a notice, it's an error.</p>