编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 yaf the yaf session classphp session 函数 session write close 的别名php session pgsql 函数 get current save handler statusphp mysql xdevapi databaseobject get session namephp mysql xdevapi schema get schema sessionphp mysql xdevapi session close sessionphp mysql xdevapi session get client listphp sessions session 函数php 函数参考 session 扩展php sessionhandler close the sessionphp sessionhandlerinterface close the sessionphp sessionhandlerinterface destroy a sessionphp sessionhandlerinterface initialize sessionphp sessionhandlerinterface read session dataphp sessionhandlerinterface write session dataphp snmp close snmp sessionphp snmp creates snmp instance representing session to remote snmp agentphp streamwrapper close a resourcephp swoole http client close the http connection.php yaf session the offsetunset purpose
关注编程学问公众号
编程学问网 湘ICP备20001732号