Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: XDEBUG_2_0_0be…
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (29 sloc) 0.659 kb
--TEST--
Test for indirect function call
--SKIPIF--
<?php if (!extension_loaded("xdebug")) print "skip"; ?>
--INI--
xdebug.enable=1
xdebug.auto_trace=0
xdebug.collect_params=1
xdebug.collect_return=1
xdebug.auto_profile=0
xdebug.profiler_enable=0
xdebug.show_mem_delta=0
xdebug.trace_format=0
--FILE--
<?php
$tf = xdebug_start_trace('/tmp/'. uniqid('xdt', TRUE));
function blaat ()
{
}
$func = 'blaat';
echo $func();
echo file_get_contents($tf);
unlink($tf);
?>
--EXPECTF--
TRACE START [%d-%d-%d %d:%d:%d]
%w%f %w%d -> blaat() /%s/test11.php:9
>=> NULL
%w%f %w%d -> file_get_contents('/tmp/%s') /%s/test11.php:11
Jump to Line
Something went wrong with that request. Please try again.