ID:               36200
 Updated by:       [EMAIL PROTECTED]
 Reported By:      marc dot bachmann at greencardshop dot de
-Status:           Open
+Status:           Bogus
-Bug Type:         Reproducible crash
+Bug Type:         COM related
 Operating System: Win XP
 PHP Version:      5.1.2
 New Comment:

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


Previous Comments:
------------------------------------------------------------------------

[2006-01-29 14:27:02] marc dot bachmann at greencardshop dot de

Description:
------------
get_object_vars crashed with object from COM-class

Reproduce code:
---------------
<?php

$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);
  print_r($arr);
  die();
}

?>

Expected result:
----------------
array (...)

Actual result:
--------------
crash


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36200&edit=1

Reply via email to