From: Antony Dovgal Date: Thu, 28 Apr 2005 14:34:02 +0000 (+0000) Subject: add test for bug #32828 X-Git-Tag: php-5.0.1b1~384 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=06a9f28b17e9e726c3117d6c2dbefff3309dd708;p=php add test for bug #32828 --- diff --git a/tests/lang/bug32828.phpt b/tests/lang/bug32828.phpt new file mode 100644 index 0000000000..0d88737cc0 --- /dev/null +++ b/tests/lang/bug32828.phpt @@ -0,0 +1,21 @@ +--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('', %d) +#1 %s(%d): ob_end_clean() +#2 {main} + thrown in %s on line %d