From: Antony Dovgal Date: Thu, 28 Apr 2005 14:34:22 +0000 (+0000) Subject: MFH: add test for bug #32828 X-Git-Tag: php-5.0.5RC1~351 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=239a85c33e0d14f778c2869b402baa1f05e92a78;p=php MFH: add test for bug #32828 --- diff --git a/tests/lang/bug32828.phpt b/tests/lang/bug32828.phpt new file mode 100644 index 0000000000..b425414ea2 --- /dev/null +++ b/tests/lang/bug32828.phpt @@ -0,0 +1,22 @@ +--TEST-- +Bug #32828 (Throwing exception in output_callback function with ob_start and ob_end_clean leads to segfault) +--FILE-- + +--EXPECTF-- +Fatal error: Uncaught exception 'Exception' in %s:%d +Stack trace: +#0 %s(%d): output_handler() +#1 %s(%d): output_handler('', %d) +#2 %s(%d): ob_end_clean() +#3 {main} + thrown in %s on line %d