|  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
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:
36 + 6 = ?
Subscribe to this entry?

 [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-2023 The PHP Group
All rights reserved.
Last updated: Sat Jan 28 00:04:48 2023 UTC