We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb38be1 commit 16da825Copy full SHA for 16da825
ext/standard/basic_functions.c
@@ -2695,6 +2695,7 @@ PHP_FUNCTION(register_tick_function)
2695
2696
tick_fe.calling = 0;
2697
tick_fe.arg_count = ZEND_NUM_ARGS();
2698
+
2699
if (tick_fe.arg_count < 1) {
2700
WRONG_PARAM_COUNT;
2701
}
@@ -2737,8 +2738,10 @@ PHP_FUNCTION(unregister_tick_function)
2737
2738
2739
2740
- if(!BG(user_tick_functions)) return;
2741
-
+ if (!BG(user_tick_functions)) {
2742
+ return;
2743
+ }
2744
2745
if (Z_TYPE_PP(function) != IS_ARRAY) {
2746
convert_to_string_ex(function);
2747
0 commit comments