From: Michael Wallner Date: Fri, 1 Aug 2014 19:33:34 +0000 (+0200) Subject: separate options array X-Git-Tag: RELEASE_0_8_0~11 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-ares;a=commitdiff_plain;h=7c7f2a0c5aa15419325556444184ad24d62ba870;hp=da29629a35d143dc564bf7997748ecff840f67d3 separate options array --- diff --git a/php_ares.c b/php_ares.c index ee6defa..c60ce4f 100644 --- a/php_ares.c +++ b/php_ares.c @@ -1093,7 +1093,7 @@ static PHP_FUNCTION(ares_init) php_ares *ares = NULL; int err; - if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|a!", &opt_array)) { + if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|a/!", &opt_array)) { RETURN_FALSE; }