mirror of
https://github.com/php/php-src.git
synced 2024-09-23 19:07:26 +00:00
a555cc0b3d
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
27 lines
375 B
PHP
27 lines
375 B
PHP
--TEST--
|
|
Bug - crash in debug_backtrace when trace starts in eval
|
|
--FILE--
|
|
<?php
|
|
function foo() {
|
|
bar();
|
|
}
|
|
|
|
function bar() {
|
|
boo();
|
|
}
|
|
|
|
function boo(){
|
|
debug_print_backtrace();
|
|
}
|
|
|
|
eval("foo();");
|
|
|
|
echo "Done\n";
|
|
?>
|
|
--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
|