Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a191144584
Fetching contributors…

Cannot retrieve contributors at this time

file 27 lines (24 sloc) 0.448 kb
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
--TEST--
Test for simple backtrace
--INI--
xdebug.default_enable=1
xdebug.dump_globals=0
xdebug.show_mem_delta=0
xdebug.profiler_enable=0
xdebug.trace_format=0
--FILE--
<?php
function a () {
b();
}

function b () {
c();
}

a();
?>
--EXPECTF--
Fatal error: Call to undefined function%sc() in /%s/test4.php on line 7

Call Stack:
%w%f %w%d 1. {main}() /%s/test4.php:0
%w%f %w%d 2. a() /%s/test4.php:10
%w%f %w%d 3. b() /%s/test4.php:3
Something went wrong with that request. Please try again.