php8.5
Home/ Manual/ session / sessionhandlerinterface/ SessionHandlerInterface::close

SessionHandlerInterface::close

PHP function Edit on GitHub ✎

(PHP 5 >= 5.4.0, PHP 7, PHP 8)

Close the session

Description

SessionHandlerInterface::close(): bool

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

Parameters Parameters

Return Values

Retval

Source: reference/session/sessionhandlerinterface/close.xml · from the official PHP manual (php/doc-en)