From f0b492b88db260ef7a2e47a537e975ec7f21c1a7 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Mon, 26 Aug 2002 23:16:51 +0000 Subject: [PATCH] fix proto and tweak error message --- ext/standard/basic_functions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index b87c647c2a..eb00f97ee6 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -1435,7 +1435,7 @@ error options: 3 = save to file in 3rd parameter */ -/* {{{ proto bool error_log(string message, int message_type [, string destination] [, string extra_headers]) +/* {{{ proto bool error_log(string message [, int message_type [, string destination [, string extra_headers]]]) Send an error message somewhere */ PHP_FUNCTION(error_log) { @@ -1473,7 +1473,7 @@ PHP_FUNCTION(error_log) case 4: if (zend_get_parameters_ex (4, &string, &erropt, &option, &emailhead) == FAILURE) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid arguments in"); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid arguments"); RETURN_FALSE; } break; -- 2.50.1