At 04:54 PM 3/24/2002, Sebastian Bergmann wrote:
>   In this callback, I use the ext/xml functions to parse this XML data.
>   Now when, for instance, a parse error occurs, I need to emit an
>   appropriate error messsage, hence I need to stop the output buffering
>   and output something. And, at this point, it segfaults.

Why not just return the error message as the return value?  It would give 
you the same functionality.  Messing with the output buffering structures 
from within the output handler is begging for trouble (we should probably 
add a bit of wrapper code to handle this gracefully without crashing)

Zeev


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to