mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
MFH: no need to fetch trsm_ls when it's already available
This commit is contained in:
parent
ff59351416
commit
210335909a
@ -2934,7 +2934,6 @@ static int _addmethod(zend_function *mptr, int num_args, va_list args, zend_hash
|
||||
long filter = va_arg(args, long);
|
||||
|
||||
if (mptr->common.fn_flags & filter) {
|
||||
TSRMLS_FETCH();
|
||||
ALLOC_ZVAL(method);
|
||||
reflection_method_factory(ce, mptr, method TSRMLS_CC);
|
||||
add_next_index_zval(retval, method);
|
||||
@ -3068,7 +3067,6 @@ static int _addproperty(zend_property_info *pptr, int num_args, va_list args, ze
|
||||
}
|
||||
|
||||
if (pptr->flags & filter) {
|
||||
TSRMLS_FETCH();
|
||||
ALLOC_ZVAL(property);
|
||||
reflection_property_factory(ce, pptr, property TSRMLS_CC);
|
||||
add_next_index_zval(retval, property);
|
||||
|
Loading…
Reference in New Issue
Block a user