Re: exit and ob_*
| From: | Andrew Ballard | Date: | Fri, 12 Oct 2007 19:49:57 +0000 |
| Subject: | Re: exit and ob_* | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-263166@lists.php.net to get a copy of this message | ||
On 10/12/07, Philip Thompson <philthathril@gmail.com> wrote:
> I suppose this isn't a big deal during production, but during testing it's
> really frustrating. Does anyone have any suggestions as to why 'exit' is
> functioning (no pun intended) this way? Note: I do want what's currently in
> the buffer to be sent to the browser, so I don't want to have to call
> ob_clean. Any thoughts?
I don't know about the behavior, but if you want the contents to be
sent, you can flush them using ob_flush() instead of clearing them
with ob_clean().
Andrew