text: --TEST--
  Test for stack traces with variadics (text, 4)
  --INI--
  xdebug.default_enable=1
  xdebug.profiler_enable=0
  xdebug.auto_trace=0
  xdebug.trace_format=0
  xdebug.dump_globals=0
  xdebug.show_mem_delta=0
  xdebug.collect_vars=0
  xdebug.collect_params=4
  xdebug.collect_return=0
  xdebug.collect_assignments=0
  xdebug.force_error_reporting=0
  --FILE--
  <?php
  function foo( $a, ...$b )
  {
  	trigger_error( 'notice' );
  }
  
  foo( 42 );
  foo( 1, false );
  foo( "foo", "bar", 3.1415 );
  ?>
  --EXPECTF--
  Notice: notice in %sstacktrace_variadic_text_4.php on line 4
  
  Call Stack:
  %w%f %w%d   1. {main}() %sstacktrace_variadic_text_4.php:0
  %w%f %w%d   2. foo($a = 42, ...$b = variadic()) %sstacktrace_variadic_text_4.php:7
  %w%f %w%d   3. trigger_error('notice') %sstacktrace_variadic_text_4.php:4
  
  
  Notice: notice in %sstacktrace_variadic_text_4.php on line 4
  
  Call Stack:
  %w%f %w%d   1. {main}() %sstacktrace_variadic_text_4.php:0
  %w%f %w%d   2. foo($a = 1, ...$b = variadic(FALSE)) %sstacktrace_variadic_text_4.php:8
  %w%f %w%d   3. trigger_error('notice') %sstacktrace_variadic_text_4.php:4
  
  
  Notice: notice in %sstacktrace_variadic_text_4.php on line 4
  
  Call Stack:
  %w%f %w%d   1. {main}() %sstacktrace_variadic_text_4.php:0
  %w%f %w%d   2. foo($a = 'foo', ...$b = variadic('bar', 3.1415)) %sstacktrace_variadic_text_4.php:9
  %w%f %w%d   3. trigger_error('notice') %sstacktrace_variadic_text_4.php:4
  