On 11/18/07, Antony Dovgal <[EMAIL PROTECTED]> wrote: > On 18.11.2007 01:36, Mehmet Yavuz Selim Soyturk wrote: > > That is the idea: > > > > <?php > > > > exceptional_ob_start(); > > > > echo "Begin\n"; > > try { > > echo "Exception\n"; > > throw new Exception(); > > } catch (Exception $e) {} > > echo "End\n"; > > > > exceptional_ob_end_flush(); > > > > ?> > > > > And that would be the only output: > > > > Begin > > End > > > > Following this logic, we would also need to "unwind" all file descriptors, > database transactions, network connections etc. etc. > This makes no sense.
This makes sense, but it's almost impossible to implement it this way :) On the other hand, implementing output-buffer the way it is proposed can actually be possible and it can be really useful edge-cases are not obvious, though -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php