felipe                                   Wed, 12 Jan 2011 22:17:10 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=307424

Log:
- Fixed bug #53717 (checking the number of arguments is wrong in 
zend_parse_method_parameters_ex())
  patch by: klaus at triendl dot eu

Bug: http://bugs.php.net/53717 (Open) checking the number of arguments is wrong 
in zend_parse_method_parameters_ex()
      
Changed paths:
    U   php/php-src/branches/PHP_5_3/Zend/zend_API.c
    U   php/php-src/trunk/Zend/zend_API.c

Modified: php/php-src/branches/PHP_5_3/Zend/zend_API.c
===================================================================
--- php/php-src/branches/PHP_5_3/Zend/zend_API.c        2011-01-12 21:40:05 UTC 
(rev 307423)
+++ php/php-src/branches/PHP_5_3/Zend/zend_API.c        2011-01-12 22:17:10 UTC 
(rev 307424)
@@ -928,7 +928,7 @@
                va_end(va);
        } else {
                p++;
-               RETURN_IF_ZERO_ARGS(num_args-1, p, quiet);
+               RETURN_IF_ZERO_ARGS(num_args, p, quiet);

                va_start(va, type_spec);


Modified: php/php-src/trunk/Zend/zend_API.c
===================================================================
--- php/php-src/trunk/Zend/zend_API.c   2011-01-12 21:40:05 UTC (rev 307423)
+++ php/php-src/trunk/Zend/zend_API.c   2011-01-12 22:17:10 UTC (rev 307424)
@@ -944,7 +944,7 @@
                va_end(va);
        } else {
                p++;
-               RETURN_IF_ZERO_ARGS(num_args-1, p, quiet);
+               RETURN_IF_ZERO_ARGS(num_args, p, quiet);

                va_start(va, type_spec);


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

Reply via email to