diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-08-25 13:48:50 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-08-26 15:00:02 +0200 |
commit | 75ac3f1cbabf0a88a092abcc31635a91215912de (patch) | |
tree | 24eff09053a22965a04c7a8568f7ead4f9e8a8ac | |
parent | 5ff15e2651850ba30dde69056436b8774fac9166 (diff) | |
download | php-git-75ac3f1cbabf0a88a092abcc31635a91215912de.tar.gz |
Separate COM::__construct()s $server_name array
This may otherwise be modified.
-rw-r--r-- | ext/com_dotnet/com_com.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/com_dotnet/com_com.c b/ext/com_dotnet/com_com.c index 5c6cc5ab14..2077e39c4a 100644 --- a/ext/com_dotnet/com_com.c +++ b/ext/com_dotnet/com_com.c @@ -61,7 +61,7 @@ PHP_FUNCTION(com_create_instance) &module_name, &module_name_len, &server_name, &server_name_len, &cp, &typelib_name, &typelib_name_len) && FAILURE == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, - ZEND_NUM_ARGS(), "sa|ls", + ZEND_NUM_ARGS(), "sa/|ls", &module_name, &module_name_len, &server_params, &cp, &typelib_name, &typelib_name_len)) { |