From:             RQuadling at GMail dot com
Operating system: Windows XP SP2
PHP version:      5.3CVS-2008-06-16 (snap)
PHP Bug Type:     Reflection related
Bug description:  Reflection of instantiated COM classes causes PHP to crash.

Description:
------------
Hi.

I'm trying to use PHP to find out about the COM interface of Crystal
Reports XI.

I can use ...

php -r "ReflectionClass::export('COM');"

which shows the empty 'COM' class extending the 'variant' class.

But if I try and use ...

php -r "ReflectionObject::export(New
COM('CrystalReports11.ObjectFactory.1'));"

I get a crash and a request to send a report to Microsoft.

Reproduce code:
---------------
<?php
$o_CR = New COM('CrystalReports11.ObjectFactory.1');
ReflectionObject::export($o_CR);


Expected result:
----------------
A dump of the properties/methods provided by the Crystal Reports XI Object
Factory.

Actual result:
--------------
A crash and a Dr. Watson crash.


-- 
Edit bug report at http://bugs.php.net/?id=45280&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=45280&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=45280&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=45280&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=45280&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=45280&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=45280&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=45280&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=45280&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=45280&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=45280&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=45280&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=45280&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=45280&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45280&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=45280&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=45280&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=45280&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45280&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=45280&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=45280&r=mysqlcfg

Reply via email to