com php-src: Fixed bug #69141 Missing arguments in reflection info for some builtin functions: ext/date/php_date.c ext/spl/php_spl .c
ext/standard/basic_functions.c
| From: | Reeze Xia | Date: | Sat, 28 Feb 2015 08:37:14 +0000 |
| Subject: | com php-src: Fixed bug #69141 Missing arguments in reflection info for some builtin functions: ext/date/php_date.c ext/spl/php_spl .c ext/standard/basic_functions.c |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85123@lists.php.net to get a copy of this message | ||
Commit: f824f91ac95000c7a6e60117d00088c253e16213
Author: Reeze Xia <reeze@php.net> Sat, 28 Feb 2015 16:37:14 +0800
Parents: e9c679872165fe2a033531670cb9e1682b661ba2
Branches: PHP-5.5
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f824f91ac95000c7a6e60117d00088c253e16213
Log:
Fixed bug #69141 Missing arguments in reflection info for some builtin functions
This include:
- setcookie (missing "httponly")
- setrawcookie (missing "httponly")
- spl_autoload_register (missing 2 optional params)
- mktime (missing "is_dst")
- gmmktime (missing "is_dst")
Bugs:
https://bugs.php.net/69141
Changed paths:
M ext/date/php_date.c
M ext/spl/php_spl.c
M ext/standard/basic_functions.c
Diff:
diff --git a/ext/date/php_date.c b/ext/date/php_date.c
index 81f6ae4..0819b45 100644
--- a/ext/date/php_date.c
+++ b/ext/date/php_date.c
@@ -85,6 +85,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_mktime, 0, 0, 0)
ZEND_ARG_INFO(0, mon)
ZEND_ARG_INFO(0, day)
ZEND_ARG_INFO(0, year)
+ ZEND_ARG_INFO(0, is_dst)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_gmmktime, 0, 0, 0)
@@ -94,6 +95,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_gmmktime, 0, 0, 0)
ZEND_ARG_INFO(0, mon)
ZEND_ARG_INFO(0, day)
ZEND_ARG_INFO(0, year)
+ ZEND_ARG_INFO(0, is_dst)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO(arginfo_checkdate, 0)
diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c
index 3c52c5d..6b886b7 100644
--- a/ext/spl/php_spl.c
+++ b/ext/spl/php_spl.c
@@ -902,6 +902,8 @@ ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_spl_autoload_register, 0, 0, 0)
ZEND_ARG_INFO(0, autoload_function)
+ ZEND_ARG_INFO(0, throw)
+ ZEND_ARG_INFO(0, prepend)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_spl_autoload_unregister, 0, 0, 1)
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
index dcf2d31..65570fe 100644
--- a/ext/standard/basic_functions.c
+++ b/ext/standard/basic_functions.c
@@ -1460,6 +1460,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_setcookie, 0, 0, 1)
ZEND_ARG_INFO(0, path)
ZEND_ARG_INFO(0, domain)
ZEND_ARG_INFO(0, secure)
+ ZEND_ARG_INFO(0, httponly)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_setrawcookie, 0, 0, 1)
@@ -1469,6 +1470,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_setrawcookie, 0, 0, 1)
ZEND_ARG_INFO(0, path)
ZEND_ARG_INFO(0, domain)
ZEND_ARG_INFO(0, secure)
+ ZEND_ARG_INFO(0, httponly)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_headers_sent, 0, 0, 0)