title: Using Notepad++, comments `//` in PHP stops the script
body: <p>The issue started with this question: <a href="https://stackoverflow.com/questions/11701179/why-does-this-session-post-fail">Why does this `$_SESSION = $_POST` fail?</a></p>
  
  <p>After some time I found that my problem described in that question is caused by the comment <code>//</code> in PHP (as described in the last update in the question).</p>
  
  <p>I suspect my editor Notepad++ to have some kind of influence on this.</p>
  
  <p>As an example, if I write:</p>
  
  <pre><code>&lt;?
  echo "test1&lt;br&gt;";
  echo "test2&lt;br&gt;";
  echo "test3&lt;br&gt;";
  // Comment
  echo "test4&lt;br&gt;";
  echo "test5&lt;br&gt;";
  ?&gt;
  &lt;?
  echo "test6&lt;br&gt;";
  echo "test7&lt;br&gt;";
  echo "test8&lt;br&gt;";
  ?&gt;
  </code></pre>
  
  <p>everything after the comment <code>// Comment</code> inside the current <code>&lt;?...?&gt;</code> is ignored. The output to the above is thus:</p>
  
  <blockquote>
    <p>test1<br>
    test2<br>
    test3<br>
    test6<br>
    test7<br>
    test8</p>
  </blockquote>
  
  <p>The other kind of comments <code>/*...*/</code> works fine.</p>
  
  <p>Strangely it only happens on comments that I edit or create. All other untouched comments do no harm. There might be some Notepad++ setting causing this that I don't know of. If have experienced before that "invisible" things happen when you fiddle around with the program, so I might have done something wrong at somepoint.</p>
  
  <p>Any suggestions? </p>