Re: Yet Another Output Buffering Issue (YAOBI)
| From: | Kristian Koehntopp | Date: | Mon, 16 Sep 2002 10:46:13 +0000 |
| Subject: | Re: Yet Another Output Buffering Issue (YAOBI) | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-88344@lists.php.net to get a copy of this message | ||
Am Montag, 16. September 2002 11:50 schrieb Sterling Hughes:
> > function end_logic($cdata) {
> > ob_start();
> > eval($cdata);
> > $buffer = ob_get_contents();
> > ob_end_clean();
> > return $buffer;
> > }
> err, do you happen to have a print statement anywhere? :)
The code in end_logic() is handled with an active output
buffering handler. That one was started with an
ob_start('callback').
The code in $cdata does indeed print stuff, yes.
Kristian