]> granicus.if.org Git - php/commitdiff
AiCount needs to be decreased here
authorZeev Suraski <zeev@php.net>
Sun, 18 Apr 1999 19:55:42 +0000 (19:55 +0000)
committerZeev Suraski <zeev@php.net>
Sun, 18 Apr 1999 19:55:42 +0000 (19:55 +0000)
Zend/zend_execute.c

index a4b44e41250511079c6c381bf52b124c4609be70..f8834532883f49249c72239eb4446c6c13f4eb30 100644 (file)
@@ -1472,6 +1472,7 @@ send_by_ref:
                                        //if (zend_hash_index_find(EG(active_symbol_table), opline->op1.u.constant.value.lval, (void **) &param)==FAILURE) {
                                        if (zend_ptr_stack_get_arg(opline->op1.u.constant.value.lval, (void **) &param)==FAILURE) {
                                                zend_error(E_NOTICE, "Missing argument %d for %s()\n", opline->op1.u.constant.value.lval, get_active_function_name());
+                                               DEC_AI_COUNT();
                                        } else if ((*param)->is_ref) {
                                                zend_assign_to_variable_reference(NULL, get_zval_ptr_ptr(&opline->result, Ts, BP_VAR_W), param, NULL ELS_CC);
                                        } else {