cvs: php-src(PHP_5_3) /ext/standard array.c

From: Date: Thu, 18 Oct 2007 14:33:14 +0000
Subject: cvs: php-src(PHP_5_3) /ext/standard array.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-46709@lists.php.net to get a copy of this message
scottmac Thu Oct 18 14:33:14 2007 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard array.c Log: Fixed bug #43020 (Warning message is missing with shuffle() and more than one argument) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/array.c?r1=1.308.2.21.2.37.2.3&r2=1.308.2.21.2.37.2.4&diff_format=u Index: php-src/ext/standard/array.c diff -u php-src/ext/standard/array.c:1.308.2.21.2.37.2.3 php-src/ext/standard/array.c:1.308.2.21.2.37.2.4 --- php-src/ext/standard/array.c:1.308.2.21.2.37.2.3 Sun Oct 7 05:22:06 2007 +++ php-src/ext/standard/array.c Thu Oct 18 14:33:14 2007 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: array.c,v 1.308.2.21.2.37.2.3 2007/10/07 05:22:06 davidw Exp $ */ +/* $Id: array.c,v 1.308.2.21.2.37.2.4 2007/10/18 14:33:14 scottmac Exp $ */ #include "php.h" #include "php_ini.h" @@ -1842,7 +1842,7 @@ { 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; }

« previous php.cvs (#46709) next »