Skip to content

Commit b4bc994

Browse files
committed
TSRM fix
1 parent 5230321 commit b4bc994

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Diff for: Zend/zend_reflection_api.c

+1
Original file line numberDiff line numberDiff line change
@@ -3063,6 +3063,7 @@ static int add_extension_class(zend_class_entry **pce, int num_args, va_list arg
30633063
int add_reflection_class = va_arg(args, int);
30643064

30653065
if ((*pce)->module && !strcasecmp((*pce)->module->name, module->name)) {
3066+
TSRMLS_FETCH();
30663067
if (add_reflection_class) {
30673068
ALLOC_ZVAL(zclass);
30683069
reflection_class_factory(*pce, zclass TSRMLS_CC);

Diff for: ext/reflection/php_reflection.c

+1
Original file line numberDiff line numberDiff line change
@@ -3063,6 +3063,7 @@ static int add_extension_class(zend_class_entry **pce, int num_args, va_list arg
30633063
int add_reflection_class = va_arg(args, int);
30643064

30653065
if ((*pce)->module && !strcasecmp((*pce)->module->name, module->name)) {
3066+
TSRMLS_FETCH();
30663067
if (add_reflection_class) {
30673068
ALLOC_ZVAL(zclass);
30683069
reflection_class_factory(*pce, zclass TSRMLS_CC);

0 commit comments

Comments
 (0)