scottmac                Thu Oct 18 14:39:08 2007 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src    NEWS 
    /php-src/ext/standard       array.c 
  Log:
  MFB53: Fixed bug #43020 (Warning message is missing with shuffle() and more 
than one argument)
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.977&r2=1.2027.2.547.2.978&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.977 php-src/NEWS:1.2027.2.547.2.978
--- php-src/NEWS:1.2027.2.547.2.977     Thu Oct 18 05:32:50 2007
+++ php-src/NEWS        Thu Oct 18 14:39:08 2007
@@ -33,6 +33,8 @@
 - Fixed htmlentities/htmlspecialchars not to accept partial multibyte
   sequences. (Stas)
 
+- Fixed bug #43020 (Warning message is missing with shuffle() and more
+  than one argument). (Scott)
 - Fixed bug #42917 (PDO::FETCH_KEY_PAIR doesn't work with setFetchMode).
   (Ilia)
 - Fixed bug #42890 (Constant "LIST" defined by mysqlclient and c-client).
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/array.c?r1=1.308.2.21.2.39&r2=1.308.2.21.2.40&diff_format=u
Index: php-src/ext/standard/array.c
diff -u php-src/ext/standard/array.c:1.308.2.21.2.39 
php-src/ext/standard/array.c:1.308.2.21.2.40
--- php-src/ext/standard/array.c:1.308.2.21.2.39        Thu Oct  4 13:31:10 2007
+++ php-src/ext/standard/array.c        Thu Oct 18 14:39:08 2007
@@ -21,7 +21,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: array.c,v 1.308.2.21.2.39 2007/10/04 13:31:10 jani Exp $ */
+/* $Id: array.c,v 1.308.2.21.2.40 2007/10/18 14:39:08 scottmac Exp $ */
 
 #include "php.h"
 #include "php_ini.h"
@@ -1844,7 +1844,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;
        }
 

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to