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
|
--TEST--
Test for xdebug_print_function_stack() without description
--INI--
xdebug.mode=develop
xdebug.cli_color=0
html_errors=0
--FILE--
<?php
function foo()
{
xdebug_print_function_stack("test message", XDEBUG_STACK_NO_DESC);
}
function bar()
{
foo(1, 3, 'foo', 'bar' );
}
bar();
?>
--EXPECTF--
Call Stack:
%w%f %w%d 1. {main}() %sprint_function_stack-no-description-001.php:0
%w%f %w%d 2. bar() %sprint_function_stack-no-description-001.php:12
%w%f %w%d 3. foo(1, 3, 'foo', 'bar') %sprint_function_stack-no-description-001.php:9
%w%f %w%d 4. xdebug_print_function_stack($message = 'test message', $options = 1) %sprint_function_stack-no-description-001.php:4
|