编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « SessionHandlerInterface
  • SessionHandlerInterface::destroy »
  • PHP Manual
  • SessionHandlerInterface
  • Close the session

SessionHandlerInterface::close

(PHP 5 >= 5.4.0, PHP 7)

SessionHandlerInterface::close — Close the session

说明

abstract public SessionHandlerInterface::close ( void ) : bool

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

参数

此函数没有参数。

返回值

会话存储的返回值(通常成功返回 0,失败返回 1)。

相关文章
php bbcode 函数 close bbcode container resourcephp maxdb 函数 别名 maxdb stmt close long dataphp msession 函数 destroy a sessionphp odbc 函数 close all odbc connectionsphp session 函数 discard session array changes and finish sessionphp session 函数 session write close 的别名php session pgsql 函数 get custom field valuephp mysql xdevapi session close sessionphp mysql xdevapi session get the schemasphp mysqlnduhconnection sends a close command to mysqlphp sessionhandler close the sessionphp sessionhandler read session dataphp sessionhandlerinterface close the sessionphp sessionhandlerinterface destroy a sessionphp sessionhandlerinterface initialize sessionphp sessionhandlerinterface read session dataphp sessionhandlerinterface write session dataphp snmp close snmp sessionphp 安装/配置 wincache session handlerphp yaf session the offsetexists purpose
关注编程学问公众号
编程学问网 湘ICP备20001732号