forked from xdebug/xdebug
/
test5.phpt
53 lines (43 loc) · 848 Bytes
/
test5.phpt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
--TEST--
Test for somewhat more complex backtrace
--INI--
xdebug.default_enable=1
xdebug.dump_globals=0
xdebug.show_mem_delta=0
xdebug.profiler_enable=0
--FILE--
<?php
function fucking() {
deep();
}
function deep() {
nested();
}
function nested() {
error();
}
function error() {
in();
}
function in() {
func();
}
function func() {
blah();
}
function blah() {
funky_shit();
}
fucking();
?>
--EXPECTF--
Fatal error: Call to undefined function%sfunky_shit() in /%s/test5.php on line 28
Call Stack:
%w%f %w%d 1. {main}() /%s/test5.php:0
%w%f %w%d 2. fucking() /%s/test5.php:31
%w%f %w%d 3. deep() /%s/test5.php:4
%w%f %w%d 4. nested() /%s/test5.php:8
%w%f %w%d 5. error() /%s/test5.php:12
%w%f %w%d 6. in() /%s/test5.php:16
%w%f %w%d 7. func() /%s/test5.php:20
%w%f %w%d 8. blah() /%s/test5.php:24