SessionHandlerInterface
PHP Manual

SessionHandlerInterface::close

(PHP 5 >= 5.4.0)

SessionHandlerInterface::closeClose the session

说明

abstract public bool SessionHandlerInterface::close ( void )

Closes the current session. This function is automatically executed when closing the session, or explicitly via session_write_close().

参数

此函数没有参数。

返回值

The return value of the session storage (usually 0 on success, 1 on failure).


SessionHandlerInterface
PHP Manual