|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57770 Calls to COM objects are not tracked
Submitted: 2007-08-05 12:15 UTC Modified: 2008-01-01 06:19 UTC
From: tetikr at spytech dot cz Assigned: wiesemann (profile)
Status: Not a bug Package: PECL bug system (PECL)
PHP Version: 5.2.1 OS: WinXP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
27 - 21 = ?
Subscribe to this entry?

 [2007-08-05 12:15 UTC] tetikr at spytech dot cz
PHP 5.2.3, APC 3.0.15-dev, APD 1.0.1

Calls to COM methods and properties are not tracked by the profiler. Further it seems that their execution time is accounted to the next function being called.

Reproduce code:
function MyFunc($x) { return ceil($x); }
$o = new COM(....);

SomeMethodReturningFloat() is not tracked and its time is added to ceil()

Expected result:
COM->SomeMethodReturningFloat should be in the function list with proper timing

Actual result:
SomeMethodReturningFloat() is not tracked and its time is added to ceil()


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-01-01 06:19 UTC]
COM is part of PHP, please use the bug tracker on
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 22 20:01:29 2024 UTC