mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Eliminate the TSRMLS_FETCH() calls in the ticks functions and hook
This commit is contained in:
parent
c83598119b
commit
aed4b086ac
8 changed files with 13 additions and 19 deletions
|
@ -5751,7 +5751,7 @@ PHP_FUNCTION(register_tick_function)
|
|||
zend_llist_init(BG(user_tick_functions),
|
||||
sizeof(user_tick_function_entry),
|
||||
(llist_dtor_func_t) user_tick_function_dtor, 0);
|
||||
php_add_tick_function(run_user_tick_functions);
|
||||
php_add_tick_function(run_user_tick_functions TSRMLS_CC);
|
||||
}
|
||||
|
||||
for (i = 0; i < tick_fe.arg_count; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue