#36200 [Opn->Bgs]: get_object_vars crashes

From: Date: Sun, 29 Jan 2006 15:07:59 +0000
Subject: #36200 [Opn->Bgs]: get_object_vars crashes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-92595@lists.php.net to get a copy of this message
ID: 36200 Updated by: sniper@php.net 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

« previous php.bugs (#92595) next »