PHP - Dying with '?>'
<p>So I have a strange and quite ambiguous question, which I can't seem to find even a vague answer to anywhere on the internet.</p>

<p>I've written a bunch of classes which facilitate a checkout process. The entire process works perfectly fine on my development server, but when I upload it to my client's server the code dies about halfway through (I can tell because I know which actions were and were not performed).</p>

<p><strong>Debugging the code on my development server yields no warnings or errors (and rightly so, since it WORKS locally).</strong></p>

<p>When running the website on the remote server, the code dies with '?>' as the only output. There's just way too much code to post in here, and I can't narrow it down to a specific line or even file, since I don't get any error output (and as I mentioned above, debugging it is of no use because it runs fine in the location for which I have access to a debugger).</p>

<p><strong>So tldr; my question is: Is there any generic reason for why this ?> might be echoed to the page? The nature of this text suggests that it's terminating and for some reason printing the PHP ending terminator tag?</strong></p>

<p>I have no clue. I understand that this problem is very hard to diagnose with what I've given you (and it's all I have to go on, as well) but even the slightest idea or suggestion would be infinitely helpful.</p>

<p>Thanks!</p>
