From: Marcus Boerger Date: Mon, 26 Aug 2002 23:16:51 +0000 (+0000) Subject: fix proto and tweak error message X-Git-Tag: RELEASE_0_91~227 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f0b492b88db260ef7a2e47a537e975ec7f21c1a7;p=php fix proto and tweak error message --- 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;