mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
TSRM fix
This commit is contained in:
parent
5230321731
commit
b4bc994680
2 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue