1
0
mirror of https://github.com/php/php-src.git synced 2026-04-14 03:22:58 +02:00
This commit is contained in:
Andi Gutmans
2003-07-12 14:54:53 +00:00
parent 17573ddf0b
commit af1254e458

View File

@@ -430,14 +430,14 @@ static char *zend_parse_arg_impl(zval **arg, va_list *va, char **spec TSRMLS_DC)
}
}
break;
case 'Z':
{
zval ***p = va_arg(*va, zval ***);
if (Z_TYPE_PP(arg) == IS_NULL && return_null) {
*p = NULL;
} else {
*p = arg;
}
case 'Z':
{
zval ***p = va_arg(*va, zval ***);
if (Z_TYPE_PP(arg) == IS_NULL && return_null) {
*p = NULL;
} else {
*p = arg;
}
}
break;
default:
@@ -485,7 +485,7 @@ static int zend_parse_va_args(int num_args, char *type_spec, va_list *va, int fl
case 's': case 'b':
case 'r': case 'a':
case 'o': case 'O':
case 'z': case 'Z':
case 'z': case 'Z':
max_num_args++;
break;