]> granicus.if.org Git - php/commitdiff
Set T_arg_type to default string type if we were not able to determine
authorAndrei Zmievski <andrei@php.net>
Mon, 14 Aug 2006 20:40:26 +0000 (20:40 +0000)
committerAndrei Zmievski <andrei@php.net>
Mon, 14 Aug 2006 20:40:26 +0000 (20:40 +0000)
it from the args.

Zend/zend_API.c

index ebb50f4412d353594cb7689e15cee27236433b7f..d1c370598aa96c08de4c8d05fdf91507e6197ecb 100644 (file)
@@ -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;