1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 16:08:35 +02:00

typo fix in array_diff error message, fixes bug #6236

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