title: PHP script doesn't work with // comments
body: <p>I have a PHP script that doesn't seem to work when it contains a // type comment. I mean, the script just doesn't seem to execute beyond the // style comment. E.g.</p>
  
  <pre><code>&lt;?php header('Content-type: text/plain');
  
  // some comment
  echo "OK";
  </code></pre>
  
  <p>doesn't work, no output. but:</p>
  
  <pre><code>&lt;?php header('Content-type: text/plain');
  
  echo "OK";
  </code></pre>
  
  <p>does work. I see OK as output. And:</p>
  
  <pre><code>&lt;?php header('Content-type: text/plain');
  
  /* some comment */    
  echo "OK";
  </code></pre>
  
  <p>Also works. Again I see OK as output.</p>
  
  <p>I never encountered this before. Could there be any PHP settings that control this behavior? How do I make my // style comments work?</p>