Hello, some indexes in profiling result array are broken
Here i am putting the code.
<?
xdebug_start_profiling(XDEBUG_PROFILER_FS_NC);
class bar {
function bar () {
$this->foo ();
}
function foo () {
$temp = '';
for ($i = 0; $i < 100; $i++) {
$temp .= md5 ($i);
}
}
}
$a = new bar;
$a->foo ();
var_dump (xdebug_get_function_profile());
?>
This script will produce rather weird results:
array
'function' => 'bar'
'class' => 'bar'
'method_87eb1b2dc ' => 'public' <---- Pay attention to the index
'n_calls' => 1
'ttl_time' => 0.0024749803124
'origin' => 'user'
'level' => 0
