MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000045XdebugUsage problems (Wrong Results)public2004-02-02 04:232004-03-16 23:40
Reporterpenfield888 
Assigned Toderick 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionwon't fix 
PlatformOSOS Version
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
Attached Files

- Relationships

-  Notes
(0000096)
penfield888 (reporter)
2004-02-02 04:24

I forgot to mention - this is on Windows 2000
(0000111)
derick (administrator)
2004-03-16 23:40

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 13:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 13:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker