View Issue Details

IDProjectCategoryView StatusLast Update
0000045XdebugUsage problems (Wrong Results)public2004-03-16 23:40
Reporterpenfield888Assigned Toderick 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionwon't fix 
Product Version 
Target VersionFixed in Version 
Summary0000045: No profiling data returned for last function called
DescriptionI've tried this with several very short testing scripts and get no profiling data for the last function called, whether it is user defined or a built-in function. Example, I have:

$names = array("Tom", "Theresa", "John", "Bill", "Mahatma", "Zedidiah");
$name_string = implode(", ", $names);
$x = strlen($name_string);

which outputs:

-----------------------------------------------------------------------------------
0.0004069805 1 *{main}() g:\path.php:0
0.0000200272 1 implode() g:\path.php:161
--------------------------------------------------------------------------------

if I change it to
$names = array("Tom", "Theresa", "John", "Bill", "Mahatma", "Zedidiah");
$name_string = implode(", ", $names);
$x = strlen($name_string);
print_r($x);

it outputs:


-----------------------------------------------------------------------------------
0.0003850460 1 *{main}() g:\path.php:0
0.0000188351 1 implode() g:\path.php:161
0.0000019073 1 strlen() g:\path.php:162
-----------------------------------------------------------------------------------

In all cases, the last function called is omitted from profiling data.
TagsNo tags attached.
Operating System
PHP Version4.3.4

Activities

penfield888

2004-02-02 04:24

reporter   ~0000096

I forgot to mention - this is on Windows 2000

derick

2004-03-16 23:40

administrator   ~0000111

Xdebug 2 will have superior profiling capabilities and it is not very easy to fix in 1.3.x so I won't do that.

Issue History

Date Modified Username Field Change
2004-02-02 04:23 penfield888 New Issue
2004-02-02 04:24 penfield888 Note Added: 0000096
2004-03-16 23:40 derick Status new => resolved
2004-03-16 23:40 derick Resolution open => won't fix
2004-03-16 23:40 derick Assigned To => derick
2004-03-16 23:40 derick Note Added: 0000111
2016-07-31 12:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 12:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)