summaryrefslogtreecommitdiff
path: root/ext/standard/string.c
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2007-10-01 12:05:41 +0000
committerJani Taskinen <jani@php.net>2007-10-01 12:05:41 +0000
commitb34fcd4791c47a0dbb97522d7f88f734e93f70d4 (patch)
tree638680b49221c397cd6d3dfe6b6ae62a8de1ea5f /ext/standard/string.c
parent0625e266cd1da156afb59711aaa9b3c758b3fa9e (diff)
downloadphp-git-b34fcd4791c47a0dbb97522d7f88f734e93f70d4.tar.gz
MFH: Fixed bug #42789
Diffstat (limited to 'ext/standard/string.c')
-rw-r--r--ext/standard/string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c
index e94773c427..2ef6df6cba 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -988,7 +988,7 @@ PHP_FUNCTION(implode)
if (argc == 1) {
if (Z_TYPE_PP(arg1) != IS_ARRAY) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Argument to implode must be an array");
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Argument must be an array");
return;
}
@@ -1008,7 +1008,7 @@ PHP_FUNCTION(implode)
convert_to_string_ex(arg1);
delim = *arg1;
} else {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Bad arguments");
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid arguments passed");
return;
}
}