title: PHP "continue" stops foreach loop
body: <p>This seems like a very stupid question, but without making any changes to the server.. the continue function in PHP seems to have started working incorrectly.</p>
  
  <p>For example:</p>
  
  <pre><code>function contTest(){
      $testers = array(1, 3, 4, 5);
      foreach($testers as $test){
          echo "Got here&lt;br&gt;";
          continue;
          echo $test."&lt;br&gt;";
      }
  }
  </code></pre>
  
  <p>Outputs:</p>
  
  <pre><code>Got here
  Got here
  Got here
  Got here
  </code></pre>
  
  <p>Whereas:</p>
  
  <pre><code>function contTest(){
      $testers = array(1, 3, 4, 5);
      foreach($testers as $test){
          echo "Got here&lt;br&gt;";
          echo $test."&lt;br&gt;";
      }
  }
  </code></pre>
  
  <p>Ouputs:</p>
  
  <pre><code>Got here
  1
  Got here
  3
  Got here
  4
  Got here
  5
  </code></pre>
  
  <p>I have used this function before and it did not seem to have this effect. Any ideas? Like I said, nothing on the server has changed so the PHP version is the same.</p>