php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tetikr at spytech dot cz
New email:
PHP Version: OS:

 

 [2007-08-05 12:15 UTC] tetikr at spytech dot cz
Description:
------------
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(....);
MyFunc($o->SomeMethodReturningFloat());

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()

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-01-01 06:19 UTC] wiesemann@php.net
COM is part of PHP, please use the bug tracker on www.php.net.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 17 23:01:28 2024 UTC