title: PHP cli script does not output anything
body: <p>So I have a php script which I execute using the following command:</p>
  
  <pre><code>php -f my_script.php myArguments
  </code></pre>
  
  <p>The script is under version control using svn. I just updated it, pasted the command to run it into a terminal, and executed it. However, there is no output. Not a failure message, not it printing anything, nothing. It looks like it never starts. Kind of like the following:</p>
  
  <pre><code>me:/srv/scripts# php -f my_script.php myArguments
  me:/srv/scripts#
  </code></pre>
  
  <p>Other scripts will run just fine. </p>
  
  <p>It is difficult for me to come up with an SSCCE, as I can't really share the code that is causing this, and I haven't been able to replicate this behavior intentionally. I have, however, seen this twice now. If I save my changes, revert the file, and paste them back in, there is a strong chance it will run just fine.</p>
  
  <p>However, I am concerned by not knowing what is causing this odd behavior. Is there a whitespace character or something that tells PHP not to start, or output anything?</p>
  
  <p>Here is what I've tried after seeing this behavior:</p>
  
  <ul>
  <li><p>Modifying the script so it is a simple <code>echo 'hello'</code></p></li>
  <li><p>Putting nonsense at the beginning of the script, so it is unparseable.</p></li>
  <li><p>Pasting in code from a working script</p></li>
  <li><p>Banging my head on a wall in frustration</p></li>
  <li><p>Trying it in another terminal/putty ssh connection.</p></li>
  </ul>
  
  <p>Here's where it gets interesting: It actually <em>works</em> in a different terminal. It does everything as expected. </p>
  
  <p>So does anyone have any ideas what might be causing this, or things I should try in order to determine the problem?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>The "different terminal" is still the terminal application, just a new one.</p>
  
  <p>I have sufficient permissions to execute the file, but even if I didn't, it should spit out a message saying I don't.</p>
  
  <p>I intentionally introduced syntax errors in hopes that I would get PHP to spit out a parse error. There was still no output.</p>