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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user