From: Stanislav Malyshev Date: Tue, 1 Feb 2005 19:02:17 +0000 (+0000) Subject: test for eval debug_backtrace bug X-Git-Tag: php-5.0.4RC1~216 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10f83680b0ea4948497e449383f36c25fd6bcfb6;p=php test for eval debug_backtrace bug --- diff --git a/Zend/tests/bug_debug_backtrace.phpt b/Zend/tests/bug_debug_backtrace.phpt new file mode 100755 index 0000000000..3e4a0ec946 --- /dev/null +++ b/Zend/tests/bug_debug_backtrace.phpt @@ -0,0 +1,28 @@ +--TEST-- +Bug - crash in debug_backtrace when trace starts in eval +--FILE-- + +===DONE=== +--EXPECTF-- +#0 boo() called at [%s:%d] +#1 bar() called at [%s:%d] +#2 foo() called at [%s(%d) : eval()'d code:1] +#3 eval() called at [%s:%d] +Done +===DONE===