Would there be any mileage or interest in having PHP's COM class support Reflection?
| From: | Richard Quadling | Date: | Fri, 13 Jun 2008 14:38:20 +0000 |
| Subject: | Would there be any mileage or interest in having PHP's COM class support Reflection? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-38201@lists.php.net to get a copy of this message | ||
Hi.
Out of interest, I tried the following line of userland PHP ...
php -n -r "Reflection::export(new COM('CrystalReports11.ObjectFactory.1'));"
The error reported is ...
Catchable fatal error: Argument 1 passed to Reflection::export() must
implement interface Reflector, instance of com given in Command line code on
line 1
My initial idea was to be able to use PHP to examine COM objects.
Regards,
Richard.
--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"