cvs: php4 /ext/standard basic_functions.c
| From: | Marcus B�rger | Date: | Mon, 26 Aug 2002 23:16:52 +0000 |
| Subject: | cvs: php4 /ext/standard basic_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13685@lists.php.net to get a copy of this message | ||
helly Mon Aug 26 19:16:52 2002 EDT
Modified files:
/php4/ext/standard basic_functions.c
Log:
fix proto and tweak error message
Index: php4/ext/standard/basic_functions.c
diff -u php4/ext/standard/basic_functions.c:1.498 php4/ext/standard/basic_functions.c:1.499
--- php4/ext/standard/basic_functions.c:1.498 Sun Aug 25 14:21:40 2002
+++ php4/ext/standard/basic_functions.c Mon Aug 26 19:16:51 2002
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.498 2002/08/25 18:21:40 helly Exp $ */
+/* $Id: basic_functions.c,v 1.499 2002/08/26 23:16:51 helly Exp $ */
#include "php.h"
#include "php_streams.h"
@@ -1435,7 +1435,7 @@
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 @@
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;