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
 [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: Thu Apr 25 10:01:29 2024 UTC