bjori           Tue May 19 19:23:12 2009 UTC

  Modified files:              
    /php-src/ext/date   php_date.c 
  Log:
  Partial fix for bug#48333 (DateInterval.format() expects a single,
  undocumented parameter)
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/date/php_date.c?r1=1.232&r2=1.233&diff_format=u
Index: php-src/ext/date/php_date.c
diff -u php-src/ext/date/php_date.c:1.232 php-src/ext/date/php_date.c:1.233
--- php-src/ext/date/php_date.c:1.232   Tue May 19 15:38:21 2009
+++ php-src/ext/date/php_date.c Tue May 19 19:23:12 2009
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: php_date.c,v 1.232 2009/05/19 15:38:21 jani Exp $ */
+/* $Id: php_date.c,v 1.233 2009/05/19 19:23:12 bjori Exp $ */
 
 #include "php.h"
 #include "php_streams.h"
@@ -340,11 +340,13 @@
        ZEND_ARG_INFO(0, time)
 ZEND_END_ARG_INFO()
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_date_interval_format, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_date_interval_format, 0, 0, 2)
        ZEND_ARG_INFO(0, object)
+       ZEND_ARG_INFO(0, format)
 ZEND_END_ARG_INFO()
 
 ZEND_BEGIN_ARG_INFO(arginfo_date_method_interval_format, 0)
+       ZEND_ARG_INFO(0, format)
 ZEND_END_ARG_INFO()
 
 ZEND_BEGIN_ARG_INFO_EX(arginfo_date_period_construct, 0, 0, 3)



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

Reply via email to