com php-src: Fixed bug #74404 (wrong reflection on DateTimeZone::getTransitions): NEWS ext/date/php_date.c

[email protected] (Joe Watkins)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    d9e2f803750033bdd6dcf756ef1ca85dc53309dd
Author:    Joe Watkins <[email protected]>         Mon, 10 Apr 2017 12:48:51 +0100
Parents:   e6423757645749dca781639d815f8348a4a20c98
Branches:  master

Link:       http://git.php.net/?p=php-src.git;a=commitdiff;h=d9e2f803750033bdd6dcf756ef1ca85dc53309dd

Log:
Fixed bug #74404 (wrong reflection on DateTimeZone::getTransitions)

Bugs:
https://bugs.php.net/74404

Changed paths:
  M  NEWS
  M  ext/date/php_date.c


Diff:
diff --git a/NEWS b/NEWS
index 5caecbe..a8305ac 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,10 @@ PHP                                                                        NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? ??? 2017 PHP 7.0.19
 
+- Date:
+  . Fixed bug #74404 (Wrong reflection on DateTimeZone::getTransitions).
+    (krakjoe)
+
 - Fileinfo:
   . Fixed bug #74379 (syntax error compile error in libmagic/apprentice.c).
     (Laruence)
diff --git a/ext/date/php_date.c b/ext/date/php_date.c
index 630354cc..9435d6b 100644
--- a/ext/date/php_date.c
+++ b/ext/date/php_date.c
@@ -339,7 +339,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_timezone_transitions_get, 0, 0, 1)
 	ZEND_ARG_INFO(0, timestamp_end)
 ZEND_END_ARG_INFO()
 
-ZEND_BEGIN_ARG_INFO(arginfo_timezone_method_transitions_get, 0)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_timezone_method_transitions_get, 0, 0, 0)
 	ZEND_ARG_INFO(0, timestamp_begin)
 	ZEND_ARG_INFO(0, timestamp_end)
 ZEND_END_ARG_INFO()
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.