summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r--ext/reflection/php_reflection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index e19071986f..2242e0f9f3 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -3063,6 +3063,7 @@ static int add_extension_class(zend_class_entry **pce, int num_args, va_list arg
int add_reflection_class = va_arg(args, int);
if ((*pce)->module && !strcasecmp((*pce)->module->name, module->name)) {
+ TSRMLS_FETCH();
if (add_reflection_class) {
ALLOC_ZVAL(zclass);
reflection_class_factory(*pce, zclass TSRMLS_CC);