felipe          Mon Mar 10 22:15:36 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/mysql  php_mysql.c 
  Log:
  MFH: New way for check void parameters
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/mysql/php_mysql.c?r1=1.213.2.6.2.16.2.15&r2=1.213.2.6.2.16.2.16&diff_format=u
Index: php-src/ext/mysql/php_mysql.c
diff -u php-src/ext/mysql/php_mysql.c:1.213.2.6.2.16.2.15 
php-src/ext/mysql/php_mysql.c:1.213.2.6.2.16.2.16
--- php-src/ext/mysql/php_mysql.c:1.213.2.6.2.16.2.15   Mon Mar 10 20:15:38 2008
+++ php-src/ext/mysql/php_mysql.c       Mon Mar 10 22:15:36 2008
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
  
-/* $Id: php_mysql.c,v 1.213.2.6.2.16.2.15 2008/03/10 20:15:38 andrey Exp $ */
+/* $Id: php_mysql.c,v 1.213.2.6.2.16.2.16 2008/03/10 22:15:36 felipe Exp $ */
 
 /* TODO:
  *
@@ -1003,8 +1003,8 @@
    Returns a string that represents the client library version */
 PHP_FUNCTION(mysql_get_client_info)
 {
-       if (ZEND_NUM_ARGS() != 0) {
-               WRONG_PARAM_COUNT;
+       if (zend_parse_parameters_none() == FAILURE) {
+               return;
        }
 
        RETURN_STRING((char *)mysql_get_client_info(),1);       



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

Reply via email to