From: Andrei Zmievski Date: Mon, 14 Aug 2006 20:40:26 +0000 (+0000) Subject: Set T_arg_type to default string type if we were not able to determine X-Git-Tag: RELEASE_1_0_0RC1~1960 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea7ab72fe7647fbca7fef2af4c107357ca7a278a;p=php Set T_arg_type to default string type if we were not able to determine it from the args. --- diff --git a/Zend/zend_API.c b/Zend/zend_API.c index ebb50f4412..d1c370598a 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -975,6 +975,10 @@ static int zend_parse_va_args(int num_args, char *type_spec, va_list *va, int fl break; } } + + if (T_arg_type == -1) { + T_arg_type == ZEND_STR_TYPE; + } } i = 0;