|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36200 get_object_vars crashes
Submitted: 2006-01-29 14:27 UTC Modified: 2006-01-29 16:07 UTC
From: marc dot bachmann at greencardshop dot de Assigned:
Status: Not a bug Package: COM related
PHP Version: 5.1.2 OS: Win XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: marc dot bachmann at greencardshop dot de
New email:
PHP Version: OS:


 [2006-01-29 14:27 UTC] marc dot bachmann at greencardshop dot de
get_object_vars crashed with object from COM-class

Reproduce code:

$outlook = new COM("Outlook.Application") or die("Kann Outlook nicht ?ffnen");
$namespace = $outlook->GetNameSpace("MAPI");
$contacts = $namespace->GetDefaultFolder(10);
$messages = $contacts->Items;
$length = $messages->count;

for ($i = 1; $i <= $length ; $i++)
  $item = $messages->Item($i);
  $arr = get_object_vars($item);


Expected result:
array (...)

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-29 16:07 UTC]
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

See bug #34297
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Feb 27 15:01:32 2024 UTC