mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
fix for #29890 - part 2
This commit is contained in:
parent
3af3379a27
commit
92c8c09da5
@ -967,6 +967,7 @@ ZEND_API void zend_error(int type, const char *format, ...)
|
||||
z_context->value.ht = EG(active_symbol_table);
|
||||
z_context->type = IS_ARRAY;
|
||||
ZVAL_ADDREF(z_context); /* we don't want this one to be freed */
|
||||
z_context->is_ref = 1;
|
||||
|
||||
params = (zval ***) emalloc(sizeof(zval **)*5);
|
||||
params[0] = &z_error_type;
|
||||
|
Loading…
Reference in New Issue
Block a user