Eliminate the TSRMLS_FETCH() calls in the ticks functions and hook

This commit is contained in:
Kalle Sommer Nielsen 2013-12-18 09:32:26 +01:00
parent c83598119b
commit aed4b086ac
8 changed files with 13 additions and 19 deletions

View file

@ -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++) {