Re: ob_start -- output buffer problem

From: Date: Mon, 10 Mar 2003 21:18:17 +0000
Subject: Re: ob_start -- output buffer problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-139033@lists.php.net to get a copy of this message
At 11:22 09.03.2003, Alex Lance said: --------------------[snip]-------------------- >here's my example: > ><?php > >$x = new test(); > >echo "hey"; > >// IF next line is uncommented so it manually flushes >// then the finish method WILL get called. But I need >// get around calling anything at the *end* of a script. > >//ob_end_flush(); > > >class test { > ...etc --------------------[snip]-------------------- This won't work anyway since your class test is declared after using it - it should be the other way 'round: class test {} $x = new test(); -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/

« previous php.general (#139033) next »