summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2005-03-12 10:12:49 +0000
committerAndrey Hristov <andrey@php.net>2005-03-12 10:12:49 +0000
commite8c97542bfa858ba46ecece4d1d589fa44335c81 (patch)
tree39dc9cbd6fd6c6b6c06e82e66ae0dde7e8ae17b7
parent33a4feed282c6ddcebb0f2b0c70d6e68841738ee (diff)
downloadphp-git-e8c97542bfa858ba46ecece4d1d589fa44335c81.tar.gz
Fixed #30871
-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 2d8a9ac747..c0b0c26bc7 100644
--- a/ext/standard/array.c
+++ b/ext/standard/array.c
@@ -4281,7 +4281,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;
}