summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-06-01 12:25:38 +0000
committerAntony Dovgal <tony2001@php.net>2006-06-01 12:25:38 +0000
commit210335909a3e94bdad0bba1214db2f573d8344a1 (patch)
tree3b36343539a38c9995ab6e6cf45de20c2a84c856 /ext/reflection/php_reflection.c
parentff59351416756edfdeb39b134a1b172059fca83c (diff)
downloadphp-git-210335909a3e94bdad0bba1214db2f573d8344a1.tar.gz
MFH: no need to fetch trsm_ls when it's already available
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r--ext/reflection/php_reflection.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index 9d8260f129..2bc640f877 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -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);