title: Concatenate All Values of an Array
body: <p>I have a loop like this below:</p>
  
  <pre><code>foreach ($header as $i) {
      $i += $i;
  }
  </code></pre>
  
  <p>I am trying to load a variable ($i) and then outside of that loop echo that variable like this below:</p>
  
  <pre><code>echo $i;
  </code></pre>
  
  <p>However it always returns 0;</p>
  
  <p>Is it possible to get it to return the value that it created in the loop?</p>