How do I stop execution at the middle of PHP script that return success status?
<p>I am running the following php script via web browser:</p>

<pre><code>&lt;?php
  require_once("test.php");
  ....
  exit(0);
  ....
  require_once("test2.php");
  ....
?&gt;
</code></pre>

<p>I am debugging my php script.  I want the script to stop execute some where at the line of "exit(0)".  However, the php doesn't execute successfully.  If I remove "exit(0)" then it works.</p>

<p>How may I stop the PHP script execution in the middle?</p>
