Skip to content

Commit b9acd57

Browse files
committed
fix flags handling in zend_parse_method_parameters_ex
1 parent 882a89f commit b9acd57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_API.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ ZEND_API int zend_parse_method_parameters_ex(int flags, int num_args TSRMLS_DC,
923923
RETURN_IF_ZERO_ARGS(num_args, p, quiet);
924924

925925
va_start(va, type_spec);
926-
retval = zend_parse_va_args(num_args, type_spec, &va, 0 TSRMLS_CC);
926+
retval = zend_parse_va_args(num_args, type_spec, &va, flags TSRMLS_CC);
927927
va_end(va);
928928
} else {
929929
p++;

0 commit comments

Comments
 (0)