forked from xdebug/xdebug
-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
test5.phpt
50 lines (40 loc) · 809 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
--TEST--
Test for somewhat more complex backtrace
--INI--
xdebug.enable=1
--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:
%f %i 1. {main}() /%s/test5.php:0
%f %i 2. fucking() /%s/test5.php:31
%f %i 3. deep() /%s/test5.php:4
%f %i 4. nested() /%s/test5.php:8
%f %i 5. error() /%s/test5.php:12
%f %i 6. in() /%s/test5.php:16
%f %i 7. func() /%s/test5.php:20
%f %i 8. blah() /%s/test5.php:24