From 070147105f68e3361e724080962f60e560cb2cfc Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Sat, 12 Mar 2005 10:11:46 +0000 Subject: [PATCH] Fixed #30871 --- ext/standard/array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/array.c b/ext/standard/array.c index 2a61d4c5ea..894f99a426 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -4367,7 +4367,7 @@ PHP_FUNCTION(array_combine) } if (zend_hash_num_elements(Z_ARRVAL_P(keys)) == 0 || zend_hash_num_elements(Z_ARRVAL_P(values)) == 0) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Both parameters should have number of elements at least 0"); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Both parameters should have at least 1 element"); RETURN_FALSE; } -- 2.50.1