mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
Replace code with zend_clean_and_cache_symbol_table() call
I replaced other instances of this code with the function call, but missed this one.
This commit is contained in:
parent
fb03ce93d3
commit
526db7db14
@ -964,15 +964,7 @@ int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache TS
|
||||
}
|
||||
|
||||
if (!fci->symbol_table && EG(active_symbol_table)) {
|
||||
if (EG(symtable_cache_ptr)>=EG(symtable_cache_limit)) {
|
||||
zend_hash_destroy(EG(active_symbol_table));
|
||||
FREE_HASHTABLE(EG(active_symbol_table));
|
||||
} else {
|
||||
/* clean before putting into the cache, since clean
|
||||
could call dtors, which could use cached hash */
|
||||
zend_hash_clean(EG(active_symbol_table));
|
||||
*(++EG(symtable_cache_ptr)) = EG(active_symbol_table);
|
||||
}
|
||||
zend_clean_and_cache_symbol_table(EG(active_symbol_table) TSRMLS_CC);
|
||||
}
|
||||
EG(active_symbol_table) = calling_symbol_table;
|
||||
EG(active_op_array) = original_op_array;
|
||||
|
Loading…
Reference in New Issue
Block a user