mirror of
https://github.com/php/php-src.git
synced 2025-08-16 22:18:50 +02:00
Set the params in the struct
This commit is contained in:
parent
c7f1c2f74f
commit
a389286b99
2 changed files with 4 additions and 0 deletions
|
@ -871,6 +871,7 @@ ZEND_METHOD(reflection_function, invoke)
|
||||||
fci.object_pp = NULL;
|
fci.object_pp = NULL;
|
||||||
fci.retval_ptr_ptr = &retval_ptr;
|
fci.retval_ptr_ptr = &retval_ptr;
|
||||||
fci.param_count = argc;
|
fci.param_count = argc;
|
||||||
|
fci.params = params;
|
||||||
fci.no_separation = 1;
|
fci.no_separation = 1;
|
||||||
|
|
||||||
fcc.initialized = 1;
|
fcc.initialized = 1;
|
||||||
|
@ -1411,6 +1412,7 @@ ZEND_METHOD(reflection_method, getdeclaringclass)
|
||||||
|
|
||||||
reflection_class_factory(mptr->common.scope, return_value TSRMLS_CC);
|
reflection_class_factory(mptr->common.scope, return_value TSRMLS_CC);
|
||||||
}
|
}
|
||||||
|
/* }}} */
|
||||||
|
|
||||||
/* {{{ proto public Reflection_Class::__construct(mixed argument) throws Exception
|
/* {{{ proto public Reflection_Class::__construct(mixed argument) throws Exception
|
||||||
Constructor. Takes a string or an instance as an argument */
|
Constructor. Takes a string or an instance as an argument */
|
||||||
|
|
|
@ -871,6 +871,7 @@ ZEND_METHOD(reflection_function, invoke)
|
||||||
fci.object_pp = NULL;
|
fci.object_pp = NULL;
|
||||||
fci.retval_ptr_ptr = &retval_ptr;
|
fci.retval_ptr_ptr = &retval_ptr;
|
||||||
fci.param_count = argc;
|
fci.param_count = argc;
|
||||||
|
fci.params = params;
|
||||||
fci.no_separation = 1;
|
fci.no_separation = 1;
|
||||||
|
|
||||||
fcc.initialized = 1;
|
fcc.initialized = 1;
|
||||||
|
@ -1411,6 +1412,7 @@ ZEND_METHOD(reflection_method, getdeclaringclass)
|
||||||
|
|
||||||
reflection_class_factory(mptr->common.scope, return_value TSRMLS_CC);
|
reflection_class_factory(mptr->common.scope, return_value TSRMLS_CC);
|
||||||
}
|
}
|
||||||
|
/* }}} */
|
||||||
|
|
||||||
/* {{{ proto public Reflection_Class::__construct(mixed argument) throws Exception
|
/* {{{ proto public Reflection_Class::__construct(mixed argument) throws Exception
|
||||||
Constructor. Takes a string or an instance as an argument */
|
Constructor. Takes a string or an instance as an argument */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue