session_reset — Re-initialize session array with original values

2017-12-19 00:28:33
linefo
452
最后编辑:linefo 于 2017-12-19 00:29:36

session_reset

(PHP 5 >= 5.6.0, PHP 7)

session_resetRe-initialize session array with original values

说明

void session_reset ( void )

session_reset() reinitializes a session with original values stored in session storage. This function requires an active session and discards changes in $_SESSION.

返回值

没有返回值。

参见