1--TEST--
2bug_debug_backtrace.phpt with replaced zend_execute_ex
3--EXTENSIONS--
4zend_test
5--INI--
6zend_test.replace_zend_execute_ex=1
7opcache.jit=disable
8--FILE--
9<?php
10function foo() {
11    bar();
12}
13
14function bar() {
15    boo();
16}
17
18function boo(){
19    debug_print_backtrace();
20}
21
22eval("foo();");
23
24echo "Done\n";
25?>
26--EXPECTF--
27#0 %s(%d): boo()
28#1 %s(%d): bar()
29#2 %s(%d) : eval()'d code(1): foo()
30#3 %s(%d): eval()
31Done
32