mirror of
https://github.com/php/php-src.git
synced 2024-12-14 20:33:36 +08:00
Fix the default parameter values of session_set_save_handler()
Co-Authored-By: Christoph M. Becker <cmbecker69@gmx.de>
This commit is contained in:
parent
0a408be0d2
commit
5868aced2e
@ -37,7 +37,7 @@ function session_register_shutdown(): void {}
|
||||
/** @alias session_write_close */
|
||||
function session_commit(): bool {}
|
||||
|
||||
function session_set_save_handler($open, $close = null, $read = null, $write = null, $destroy = null, $gc = null, $create_sid = null, $validate_sid = null, $update_timestamp = null): bool {}
|
||||
function session_set_save_handler($open, $close = UNKNOWN, $read = UNKNOWN, $write = UNKNOWN, $destroy = UNKNOWN, $gc = UNKNOWN, $create_sid = UNKNOWN, $validate_sid = UNKNOWN, $update_timestamp = UNKNOWN): bool {}
|
||||
|
||||
function session_cache_limiter(string $cache_limiter = UNKNOWN): string|false {}
|
||||
|
||||
|
@ -58,14 +58,14 @@ ZEND_END_ARG_INFO()
|
||||
|
||||
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_session_set_save_handler, 0, 1, _IS_BOOL, 0)
|
||||
ZEND_ARG_INFO(0, open)
|
||||
ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, close, "null")
|
||||
ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, read, "null")
|
||||
ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, write, "null")
|
||||
ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, destroy, "null")
|
||||
ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, gc, "null")
|
||||
ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, create_sid, "null")
|
||||
ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, validate_sid, "null")
|
||||
ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, update_timestamp, "null")
|
||||
ZEND_ARG_INFO(0, close)
|
||||
ZEND_ARG_INFO(0, read)
|
||||
ZEND_ARG_INFO(0, write)
|
||||
ZEND_ARG_INFO(0, destroy)
|
||||
ZEND_ARG_INFO(0, gc)
|
||||
ZEND_ARG_INFO(0, create_sid)
|
||||
ZEND_ARG_INFO(0, validate_sid)
|
||||
ZEND_ARG_INFO(0, update_timestamp)
|
||||
ZEND_END_ARG_INFO()
|
||||
|
||||
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_session_cache_limiter, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
|
||||
|
Loading…
Reference in New Issue
Block a user