diff options
author | Hartmut Holzgraefe <hholzgra@php.net> | 2000-08-18 12:45:01 +0000 |
---|---|---|
committer | Hartmut Holzgraefe <hholzgra@php.net> | 2000-08-18 12:45:01 +0000 |
commit | c1ceeaf830ea03d9f3dcc24e563ecb2ca0660eba (patch) | |
tree | 77bf128aa7c5403360fca07ee8dc59eeea112639 | |
parent | 867160a75122ba8e352a7b1e4422cad8ee1da73c (diff) | |
download | php-git-c1ceeaf830ea03d9f3dcc24e563ecb2ca0660eba.tar.gz |
typo fix in array_diff error message, fixes bug #6236
-rw-r--r-- | ext/standard/array.c | 2 |
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; } |