summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2009-12-24 00:15:13 (GMT)
committerStanislav Malyshev <stas@php.net>2009-12-24 00:15:13 (GMT)
commitb9acd57000aed707f3a1de1799edf2170ca6530a (patch)
treee0f9e1378c26a9433d880bd7de625f59ad412bf3 /Zend
parent882a89fb227915c4fd1cecb9f13850f90e80020c (diff)
downloadphp-b9acd57000aed707f3a1de1799edf2170ca6530a.tar.gz
fix flags handling in zend_parse_method_parameters_ex
Diffstat (limited to 'Zend')
-rw-r--r--Zend/zend_API.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index 5d069f7..eb156eb 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -923,7 +923,7 @@ ZEND_API int zend_parse_method_parameters_ex(int flags, int num_args TSRMLS_DC,
RETURN_IF_ZERO_ARGS(num_args, p, quiet);
va_start(va, type_spec);
- retval = zend_parse_va_args(num_args, type_spec, &va, 0 TSRMLS_CC);
+ retval = zend_parse_va_args(num_args, type_spec, &va, flags TSRMLS_CC);
va_end(va);
} else {
p++;