typo fix in array_diff error message, fixes bug #6236

This commit is contained in:
Hartmut Holzgraefe committed 2000-08-18 12:45:01 +00:00
1 parent 867160a751
commit c1ceeaf830
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}