From: Zeev Suraski Date: Sat, 10 Jun 2000 01:12:12 +0000 (+0000) Subject: I can't think of a reason of why it should just be a notice... Make it a warning... X-Git-Tag: php-4.0.1RC~312 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53bdf0b5ccbd8ff741cab5fa17722e8e15333800;p=php I can't think of a reason of why it should just be a notice... Make it a warning, like it was in PHP 3. --- diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index baedebe147..f8169fae48 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -1747,7 +1747,7 @@ send_by_ref: zval **param; if (zend_ptr_stack_get_arg(opline->op1.u.constant.value.lval, (void **) ¶m 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); }