diff options
author | Reeze Xia <reeze@php.net> | 2015-02-28 16:37:14 +0800 |
---|---|---|
committer | Reeze Xia <reeze@php.net> | 2015-02-28 16:37:14 +0800 |
commit | f824f91ac95000c7a6e60117d00088c253e16213 (patch) | |
tree | e545f61d37e4e08de7a6700ee5ae663e771b89df | |
parent | e9c679872165fe2a033531670cb9e1682b661ba2 (diff) | |
download | php-git-f824f91ac95000c7a6e60117d00088c253e16213.tar.gz |
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")
-rw-r--r-- | ext/date/php_date.c | 2 | ||||
-rw-r--r-- | ext/spl/php_spl.c | 2 | ||||
-rw-r--r-- | ext/standard/basic_functions.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 81f6ae41a2..0819b45df4 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 3c52c5dba1..6b886b7ef3 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 dcf2d31a36..65570fed2a 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) |