summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2000-08-18 12:45:01 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2000-08-18 12:45:01 +0000
commitc1ceeaf830ea03d9f3dcc24e563ecb2ca0660eba (patch)
tree77bf128aa7c5403360fca07ee8dc59eeea112639
parent867160a75122ba8e352a7b1e4422cad8ee1da73c (diff)
downloadphp-git-c1ceeaf830ea03d9f3dcc24e563ecb2ca0660eba.tar.gz
typo fix in array_diff error message, fixes bug #6236
-rw-r--r--ext/standard/array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/array.c b/ext/standard/array.c
index 31dfd4cd00..844b1f4ea3 100644
--- a/ext/standard/array.c
+++ b/ext/standard/array.c
@@ -2323,7 +2323,7 @@ PHP_FUNCTION(array_diff)
set_compare_func(SORT_REGULAR);
for (i=0; i<argc; i++) {
if ((*args[i])->type != IS_ARRAY) {
- php_error(E_WARNING, "Argument #%d to array_intersect() is not an array", i+1);
+ php_error(E_WARNING, "Argument #%d to array_diff() is not an array", i+1);
argc = i; /* only free up to i-1 */
goto out;
}