编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 session 扩展 session handlingphp apd 函数 starts the session debuggingphp pdf 函数 close imagephp session 函数 session write close 的别名php session 函数 perform session data garbage collectionphp session 函数 读取/设置当前会话的保存路径php mysql xdevapi session close sessionphp mysql xdevapi session commit transactionphp mysql xdevapi session create savepointphp mysql xdevapi table get table sessionphp session pgsql 预定义常量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 yaf session the current purposephp yaf session the unset purpose
关注编程学问公众号
编程学问网 湘ICP备20001732号