mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Port other major parts of PHP 4 COM extension into PHP 5 com_dotnet
extension. This enables: - iteration of SafeArray types via foreach() - proxying of multi-dimensional SafeArray types so that multi-dimension array accesses work (untested!) - Fix COM exceptions, and expose them as their own class of exception "com_exception" - auto typelib file import (com.typelib_file ini option) - event sinking - wrapper to map PHP objects to COM - fix mapping of variant values to PHP values # Could someone please add com_saproxy.c and com_wrapper.c to the .dsp # file?
This commit is contained in:
parent
48b96c10d2
commit
e10c206dac
14 changed files with 1957 additions and 159 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
+----------------------------------------------------------------------+
|
||||
| PHP Version 4 |
|
||||
| PHP Version 5 |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1997-2003 The PHP Group |
|
||||
+----------------------------------------------------------------------+
|
||||
|
@ -40,14 +40,13 @@ PHP_RINIT_FUNCTION(com_dotnet);
|
|||
PHP_RSHUTDOWN_FUNCTION(com_dotnet);
|
||||
PHP_MINFO_FUNCTION(com_dotnet);
|
||||
|
||||
PHP_FUNCTION(com_create_guid);
|
||||
|
||||
ZEND_BEGIN_MODULE_GLOBALS(com_dotnet)
|
||||
zend_bool allow_dcom;
|
||||
zend_bool autoreg_verbose;
|
||||
zend_bool autoreg_on;
|
||||
zend_bool autoreg_case_sensitive;
|
||||
void *dotnet_runtime_stuff; /* opaque to avoid cluttering up other modules */
|
||||
int code_page; /* default code_page if left unspecified */
|
||||
ZEND_END_MODULE_GLOBALS(com_dotnet)
|
||||
|
||||
#ifdef ZTS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue