]> granicus.if.org Git - php/commitdiff
I can't think of a reason of why it should just be a notice... Make it a warning...
authorZeev Suraski <zeev@php.net>
Sat, 10 Jun 2000 01:12:12 +0000 (01:12 +0000)
committerZeev Suraski <zeev@php.net>
Sat, 10 Jun 2000 01:12:12 +0000 (01:12 +0000)
Zend/zend_execute.c

index baedebe14758e6f06167f0a4b179f059fd2939e9..f8169fae48b850095d02e410daf277a0198d8b69 100644 (file)
@@ -1747,7 +1747,7 @@ send_by_ref:
                                        zval **param;
 
                                        if (zend_ptr_stack_get_arg(opline->op1.u.constant.value.lval, (void **) &param ELS_CC)==FAILURE) {
-                                               zend_error(E_NOTICE, "Missing argument %d for %s()\n", opline->op1.u.constant.value.lval, get_active_function_name());
+                                               zend_error(E_WARNING, "Missing argument %d for %s()\n", opline->op1.u.constant.value.lval, get_active_function_name());
                                                if (opline->result.op_type == IS_VAR) {
                                                        PZVAL_UNLOCK(*Ts[opline->result.u.var].var.ptr_ptr);
                                                }