|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-01-29 16:07 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 17:00:02 2025 UTC |
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