PHP 8.6.0 Beta 1 is available for testing

SessionHandlerInterface::destroy

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

SessionHandlerInterface::destroyDestruir una sesión

Descripción

public function SessionHandlerInterface::destroy(string $id): bool

Destruye una sesión. Llamado por session_regenerate_id() (con $destroy = true ), session_destroy() y cuando session_decode() falla.

Parámetros

id

El ID de sesión a ser destruido.

Valores devueltos

El valor devuelto (habitualmente true en caso de éxito, false si ocurre un error). Tenga en cuenta que este valor es devuelto internamente a PHP para análisis.

Found A Problem?

Learn How To Improve This PageSubmit a Pull RequestReport a Bug
+add a note

User Contributed Notes

There are no user contributed notes for this page.

AltStyle によって変換されたページ (->オリジナル) /