From a389286b99709d24cc7daa2ae7958c0082ab3da2 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Mon, 1 Sep 2003 15:09:57 +0000 Subject: [PATCH] Set the params in the struct --- Zend/zend_reflection_api.c | 2 ++ ext/reflection/php_reflection.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Zend/zend_reflection_api.c b/Zend/zend_reflection_api.c index 3629b582abe..72d96cc9361 100644 --- a/Zend/zend_reflection_api.c +++ b/Zend/zend_reflection_api.c @@ -871,6 +871,7 @@ ZEND_METHOD(reflection_function, invoke) fci.object_pp = NULL; fci.retval_ptr_ptr = &retval_ptr; fci.param_count = argc; + fci.params = params; fci.no_separation = 1; fcc.initialized = 1; @@ -1411,6 +1412,7 @@ ZEND_METHOD(reflection_method, getdeclaringclass) reflection_class_factory(mptr->common.scope, return_value TSRMLS_CC); } +/* }}} */ /* {{{ proto public Reflection_Class::__construct(mixed argument) throws Exception Constructor. Takes a string or an instance as an argument */ diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 3629b582abe..72d96cc9361 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -871,6 +871,7 @@ ZEND_METHOD(reflection_function, invoke) fci.object_pp = NULL; fci.retval_ptr_ptr = &retval_ptr; fci.param_count = argc; + fci.params = params; fci.no_separation = 1; fcc.initialized = 1; @@ -1411,6 +1412,7 @@ ZEND_METHOD(reflection_method, getdeclaringclass) reflection_class_factory(mptr->common.scope, return_value TSRMLS_CC); } +/* }}} */ /* {{{ proto public Reflection_Class::__construct(mixed argument) throws Exception Constructor. Takes a string or an instance as an argument */