b0y-101 Mini Shell


Current Path : E:/www/b-group.old/spfin - Copy/testpayment/src/xdebug/tests/develop/
File Upload :
Current File : E:/www/b-group.old/spfin - Copy/testpayment/src/xdebug/tests/develop/backtrace-complex.phpt

--TEST--
Test for somewhat more complex backtrace
--INI--
xdebug.mode=develop
xdebug.dump_globals=0
xdebug.show_error_trace=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: Uncaught Error: Call to undefined function%sfunky_shit() in %sbacktrace-complex.php on line 28

Error: Call to undefined function funky_shit() in %sbacktrace-complex.php on line 28

Call Stack:
%w%f %w%d   1. {main}() %sbacktrace-complex.php:0
%w%f %w%d   2. fucking() %sbacktrace-complex.php:31
%w%f %w%d   3. deep() %sbacktrace-complex.php:4
%w%f %w%d   4. nested() %sbacktrace-complex.php:8
%w%f %w%d   5. error() %sbacktrace-complex.php:12
%w%f %w%d   6. in() %sbacktrace-complex.php:16
%w%f %w%d   7. func() %sbacktrace-complex.php:20
%w%f %w%d   8. blah() %sbacktrace-complex.php:24

Copyright © 2019 by b0y-101