]> granicus.if.org Git - php/commitdiff
Separate COM::__construct()s $server_name array
authorChristoph M. Becker <cmbecker69@gmx.de>
Tue, 25 Aug 2020 11:48:50 +0000 (13:48 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Wed, 26 Aug 2020 13:00:02 +0000 (15:00 +0200)
This may otherwise be modified.

ext/com_dotnet/com_com.c

index 5c6cc5ab14a48d9f9de269a36ce7aec0db11a2b0..2077e39c4affc355daa101f4eaf21813187c1b74 100644 (file)
@@ -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)) {