View Issue Details

IDProjectCategoryView StatusLast Update
0000728XdebugUncategorizedpublic2012-04-28 22:18
Reportersebastian Assigned Toderick  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformIrrelevantOSIrrelevantOS VersionIrrelevant
Product Version2.2dev 
Target Version2.2.0Fixed in Version2.2.0 
Summary0000728: Profiler reports __call() invocations confusingly/wrongly
Description

I find the way that Xdebug reports method calls that are handled by __call() confusing.

For my http://github.com/thePHPcc/bankaccount example (htdocs/index.php) it generates

fl=php:internal
fn=php::Request->getServer
10 31
cfl=/usr/local/src/bankaccount/src/framework/Request.php
cfn=Request->__call
calls=1 0 0
10 1713

This means that the Request::getServer() method, which does not exist and calls to which are handled by Request::__call(), are displayed as PHP-internal functions. This is what confuses me.

Request->getServer would be correct.

TagsNo tags attached.
Operating System
PHP Version5.4-dev

Activities

sebastian

2011-10-05 21:40

reporter   ~0001834

Instead of reporting just Request->getServer it might make sense to report both Request->getServer and Request->__call (the former calling the latter).

Issue History

Date Modified Username Field Change
2011-10-05 15:50 sebastian New Issue
2011-10-05 21:40 sebastian Note Added: 0001834
2012-03-12 16:25 derick Target Version => 2.2.0
2012-04-28 22:18 derick Status new => closed
2012-04-28 22:18 derick Assigned To => derick
2012-04-28 22:18 derick Resolution open => fixed
2012-04-28 22:18 derick Fixed in Version => 2.2.0
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)
2020-03-12 16:35 derick Category Usage problems (Wrong Results) => Variable Display
2020-03-12 16:38 derick Category Variable Display => Uncategorized