1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 02:02:32 +01:00

Fixed bug #43020 (Warning message is missing with shuffle() and more than one argument)

This commit is contained in:
Scott MacVicar
2007-10-18 14:33:14 +00:00
parent 8039433291
commit 3fa7ec8508

View File

@@ -1842,7 +1842,7 @@ PHP_FUNCTION(shuffle)
{
zval *array;
if (zend_parse_parameters(1 TSRMLS_CC, "a", &array) == FAILURE) {
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &array) == FAILURE) {
RETURN_FALSE;
}