title: PHP system() - return status is always 0
body: <p>I need to get the following scripts running. </p>
  
  <pre><code>// File: script_a.php
  &lt;?php exit(1); ?&gt;
  
  // File: script_b.php
  &lt;?php 
       system('php script_a.php', $return);
       var_dump($return);
  ?&gt;
  </code></pre>
  
  <p>Now my problem: On my windows system running <code>script_b.php</code> shows <code>int(1)</code> as expected. On our Unix-Server I always get <code>int(0)</code>, what makes it impossible for me to check, if a certain failure happens inside the <code>script_a.php</code>.</p>
  
  <p>Does anybody knows this problem and how to solve it?</p>