Re: [PHP-DEV] Re: output buffering callback limitation

2004-06-15 Thread Okin Okin
>Not sure if i undertood you. Are you trying to emit >errors during >ob_handler execution and prevent them from being >output using ob_start()? >You could use error_reporting()+error_log()[+trigger_error()] or something? Nop, I'm considering this : this code produces "Fatal error: ob_start():

Re: [PHP-DEV] Re: output buffering callback limitation

2004-06-14 Thread Andre Cerqueira
I think an ob_handler should be designed to handle output. Not create (output), nor send emails. I think the workaround is the other way around hehe It's the way you want it to work that is a workaround, since there is probably a better way to do it. -I agree, print_r($var, true) should work but